@@ -16,5 +16,14 @@ config BR2_PACKAGE_GSTREAMER_GST_DEBUG
in gstreamer. This has limited CPU overhead, but does
increase the rootfs size 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"
depends on !BR2_USE_WCHAR
@@ -21,7 +21,8 @@ GSTREAMER_CONF_OPT = \
--disable-tests \
--disable-failing-tests \
--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
Whoops, I forgot to include the sign-off for the patch. The amended patch is included below: ---------SNIP--------- The plugin registry can take a while to be generated when GStreamer is initialized. Turning it off speeds up GStreamer application launch times. Default behavior unchanged. Signed-off-by: Tim Sheridan <tim.sheridan@imgtec.com> --- package/multimedia/gstreamer/Config.in | 9 +++++++++ package/multimedia/gstreamer/gstreamer.mk | 3 ++- 2 files changed, 11 insertions(+), 1 deletions(-)