gstreamer: Added option to disable plugin registry.

The plugin registry can take a while to be generated when GStreamer is
initialized. Turning it off can speed up up GStreamer application launch
times. Default behaviour is unchanged.

Signed-off-by: Tim Sheridan <tim.sheridan@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Tim Sheridan 2012-11-26 01:26:04 +00:00 committed by Peter Korsgaard
parent b17c796389
commit fc50f0c372
2 changed files with 13 additions and 4 deletions

View File

@ -12,9 +12,17 @@ config BR2_PACKAGE_GSTREAMER_GST_DEBUG
default y default y
depends on BR2_PACKAGE_GSTREAMER depends on BR2_PACKAGE_GSTREAMER
help help
Enable support for the gst-debug tracing functionality Enable support for the gst-debug tracing functionality in gstreamer.
in gstreamer. This has limited CPU overhead, but does This has limited CPU overhead, but does increase the rootfs size
increase the rootfs size somewhat. somewhat.
config BR2_PACKAGE_GSTREAMER_PLUGIN_REGISTRY
bool "enable plugin registry"
default y
depends on BR2_PACKAGE_GSTREAMER
help
Enable support for the GStreamer plugin registry. This may increase
the launch-time for a GStreamer application.
comment "gstreamer requires a toolchain with WCHAR support" comment "gstreamer requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR depends on !BR2_USE_WCHAR

View File

@ -21,7 +21,8 @@ GSTREAMER_CONF_OPT = \
--disable-tests \ --disable-tests \
--disable-failing-tests \ --disable-failing-tests \
--disable-loadsave \ --disable-loadsave \
$(if $(BR2_PACKAGE_GSTREAMER_GST_DEBUG),,--disable-gst-debug) $(if $(BR2_PACKAGE_GSTREAMER_GST_DEBUG),,--disable-gst-debug) \
$(if $(BR2_PACKAGE_GSTREAMER_PLUGIN_REGISTRY),,--disable-registry)
GSTREAMER_DEPENDENCIES = libglib2 host-pkgconf GSTREAMER_DEPENDENCIES = libglib2 host-pkgconf