package/gstreamer1/gst1-plugins-good: add adaptivedemux2 plugin option

Currently there is no explicit way to enable/disable the adaptivedemux2
plugin. Create a menu entry allowing users to disable or enable the plugin,
like we have for other features.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[yann.morin.1998@free.fr: use plugin name in prompt, drop useless help]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Dario Binacchi 2023-06-22 23:39:17 +02:00 committed by Yann E. MORIN
parent 044c38b71d
commit a0c5f9c4ed
2 changed files with 12 additions and 0 deletions

View File

@ -258,6 +258,11 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M
comment "plugins with external dependencies"
config BR2_PACKAGE_GST1_PLUGINS_GOOD_ADAPTIVEMUX2
bool "adaptivedemux2 (Adaptive Streaming 2)"
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBSOUP
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME
bool "lame (*.mp3 audio encoder)"
select BR2_PACKAGE_LAME

View File

@ -58,6 +58,13 @@ GST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += orc
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ADAPTIVEMUX2),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup libxml2
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled
else