summaryrefslogtreecommitdiffstats
path: root/package/multimedia/gst-plugins-good/gst-plugins-good.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/gst-plugins-good/gst-plugins-good.mk')
-rw-r--r--package/multimedia/gst-plugins-good/gst-plugins-good.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index c44bdff50..62d9d4701 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
@@ -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