Skip to contentSkip to conversation

gst-plugins-good: Add option for v4l2

PATCH New Phil Edworthy 2 participants 2 messages Nov 16, 2010 – Dec 30, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst-plugins-good: Add option for v4l2

---
 package/multimedia/gst-plugins-good/Config.in      |    3 +++
 .../gst-plugins-good/gst-plugins-good.mk           |    7 ++++++-
 2 files changed, 9 insertions(+), 1 deletions(-)
package/multimedia/gst-plugins-good/Config.in +3 -0
index 3b37b5e..dd293e9 100644
@@ -159,6 +159,9 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M
 	bool "y4m"
 
+config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2
+	bool "v4l2"
+
 comment "plugins with external dependencies"
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
package/multimedia/gst-plugins-good/gst-plugins-good.mk +6 -1
index c44bdff..62d9d47 100644
@@ -15,7 +15,6 @@ GST_PLUGINS_GOOD_CONF_OPT = \
 		--disable-sunaudio \
 		--disable-osx_audio \
 		--disable-osx_video \
-		--disable-gst_v4l2 \
 		--disable-x \
 		--disable-xshm \
 		--disable-xvideo \
@@ -290,6 +289,12 @@ else
 GST_PLUGINS_GOOD_CONF_OPT += --disable-y4m
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-gst_v4l2
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-gst_v4l2
+endif
+
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
 GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
 GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 gst-plugins-good: Add option for v4l2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Phil" == Phil Edworthy <[email protected]> writes:

Phil> Signed-off-by: Phil Edworthy <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard