* [Buildroot] [PATCH] gstreamer: Added option to disable plugin registry.
@ 2012-11-22 13:19 Tim Sheridan
2012-11-22 13:27 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Tim Sheridan @ 2012-11-22 13:19 UTC (permalink / raw)
To: buildroot
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(-)
diff --git a/package/multimedia/gstreamer/Config.in b/package/multimedia/gstreamer/Config.in
index 4d279b8..e946b18 100644
--- a/package/multimedia/gstreamer/Config.in
+++ b/package/multimedia/gstreamer/Config.in
@@ -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
diff --git a/package/multimedia/gstreamer/gstreamer.mk b/package/multimedia/gstreamer/gstreamer.mk
index a9841b1..b87f029 100644
--- a/package/multimedia/gstreamer/gstreamer.mk
+++ b/package/multimedia/gstreamer/gstreamer.mk
@@ -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
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH] gstreamer: Added option to disable plugin registry.
2012-11-22 13:19 [Buildroot] [PATCH] gstreamer: Added option to disable plugin registry Tim Sheridan
@ 2012-11-22 13:27 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2012-11-22 13:27 UTC (permalink / raw)
To: buildroot
Dear Tim Sheridan,
On Thu, 22 Nov 2012 13:19:05 +0000, Tim Sheridan wrote:
> Whoops, I forgot to include the sign-off for the patch. The amended patch is included below:
Please resend the patch properly, this one cannot be applied.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] gstreamer: Added option to disable plugin registry.
@ 2012-11-22 10:43 Tim Sheridan
0 siblings, 0 replies; 3+ messages in thread
From: Tim Sheridan @ 2012-11-22 10:43 UTC (permalink / raw)
To: buildroot
The plugin registry can take a while to be generated when GStreamer is
initialized. Turning it off can speed up GStreamer application launch times.
Default behavior is unchanged.
---
package/multimedia/gstreamer/Config.in | 9 +++++++++
package/multimedia/gstreamer/gstreamer.mk | 3 ++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/package/multimedia/gstreamer/Config.in b/package/multimedia/gstreamer/Config.in
index 4d279b8..e946b18 100644
--- a/package/multimedia/gstreamer/Config.in
+++ b/package/multimedia/gstreamer/Config.in
@@ -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
diff --git a/package/multimedia/gstreamer/gstreamer.mk b/package/multimedia/gstreamer/gstreamer.mk
index a9841b1..b87f029 100644
--- a/package/multimedia/gstreamer/gstreamer.mk
+++ b/package/multimedia/gstreamer/gstreamer.mk
@@ -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
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-22 13:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 13:19 [Buildroot] [PATCH] gstreamer: Added option to disable plugin registry Tim Sheridan
2012-11-22 13:27 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2012-11-22 10:43 Tim Sheridan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox