gst-plugins-base: add option for dependency-less plugin
Make the build of the dependency-less plugin 'encoding' optional. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
2f2542595f
commit
e67b65eed8
@ -30,6 +30,9 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
|
|||||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
|
||||||
bool "audiotestsrc"
|
bool "audiotestsrc"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING
|
||||||
|
bool "encoding"
|
||||||
|
|
||||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE
|
||||||
bool "ffmpegcolorspace (mandatory for video playback)"
|
bool "ffmpegcolorspace (mandatory for video playback)"
|
||||||
default y
|
default y
|
||||||
|
@ -69,6 +69,12 @@ else
|
|||||||
GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
|
GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-encoding
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-encoding
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
|
||||||
GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
|
GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user