From patchwork Mon Nov 26 11:26:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Sheridan X-Patchwork-Id: 201655 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1C5332C036B for ; Mon, 26 Nov 2012 22:27:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3F2EFA012C; Mon, 26 Nov 2012 11:27:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SsKNU7wpiOOY; Mon, 26 Nov 2012 11:27:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 997C9A0101; Mon, 26 Nov 2012 11:27:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 411C98F783 for ; Mon, 26 Nov 2012 11:27:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 736178144D for ; Mon, 26 Nov 2012 11:27:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RFkqvDwcg+rC for ; Mon, 26 Nov 2012 11:27:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from multi.imgtec.com (multi.imgtec.com [194.200.65.239]) by whitealder.osuosl.org (Postfix) with ESMTPS id 13C3980663 for ; Mon, 26 Nov 2012 11:27:05 +0000 (UTC) From: Tim Sheridan To: Date: Mon, 26 Nov 2012 11:26:04 +0000 Message-ID: <1353929164-7292-1-git-send-email-tim.sheridan@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-SEF-Processed: 7_3_0_01181__2012_11_26_11_27_02 Subject: [Buildroot] [PATCH v3] gstreamer: Added option to disable plugin registry. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/multimedia/gstreamer/Config.in | 14 +++++++++++--- package/multimedia/gstreamer/gstreamer.mk | 3 ++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/package/multimedia/gstreamer/Config.in b/package/multimedia/gstreamer/Config.in index 4d279b8..9a67481 100644 --- a/package/multimedia/gstreamer/Config.in +++ b/package/multimedia/gstreamer/Config.in @@ -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 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