Based on patch by Bogdan Radulescu <bogdan_radulescu99@yahoo.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV
bool "fbdev"
+config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD
+ bool "faad"
+ select BR2_PACKAGE_FAAD2
+
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBMMS
bool "libmms"
select BR2_PACKAGE_LIBMMS
GST_PLUGINS_BAD_CONF_OPT += --disable-dvb
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD),y)
+GST_PLUGINS_BAD_CONF_OPT += --enable-faad
+GST_PLUGINS_BAD_DEPENDENCIES += faad2
+else
+GST_PLUGINS_BAD_CONF_OPT += --disable-faad
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV),y)
GST_PLUGINS_BAD_CONF_OPT += --enable-fbdev
else