Skip to contentSkip to conversation

gstreamer: Added option to disable plugin registry.

PATCH New Tim Sheridan 2 participants 2 messages Nov 26, 2012 – Nov 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 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.

---
 package/multimedia/gstreamer/Config.in    |   14 +++++++++++---
 package/multimedia/gstreamer/gstreamer.mk |    3 ++-
 2 files changed, 13 insertions(+), 4 deletions(-)
package/multimedia/gstreamer/Config.in +11 -3
index 4d279b8..9a67481 100644
@@ -12,9 +12,17 @@ config BR2_PACKAGE_GSTREAMER_GST_DEBUG
 	default y
 	depends on BR2_PACKAGE_GSTREAMER
 	help
-	  Enable support for the gst-debug tracing functionality
-	  in gstreamer. This has limited CPU overhead, but does
-	  increase the rootfs size somewhat.
+	  Enable support for the gst-debug tracing functionality 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
package/multimedia/gstreamer/gstreamer.mk +2 -1
index a9841b1..b87f029 100644
@@ -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
 
Signature · 1 line
1.7.1
#1 lore raw

PATCH v3 1/1 gstreamer: Added option to disable plugin registry.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Tim" == Tim Sheridan <[email protected]> writes:

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

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard