[0.11] gst-plugins-bad: examples: Fix build

Edward Hervey bilboed at kemper.freedesktop.org
Mon Jan 2 06:52:49 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 3248694f1b4d95c2933409538a2381de8dcd1838
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=3248694f1b4d95c2933409538a2381de8dcd1838

Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Mon Jan  2 15:52:23 2012 +0100

examples: Fix build

---

 tests/examples/scaletempo/demo-player.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tests/examples/scaletempo/demo-player.c b/tests/examples/scaletempo/demo-player.c
index 8ff0fc5..8d5325a 100644
--- a/tests/examples/scaletempo/demo-player.c
+++ b/tests/examples/scaletempo/demo-player.c
@@ -154,8 +154,7 @@ demo_player_build_pipeline (DemoPlayer * player)
   filter = priv->scaletempo;
 
   MAKE_ELEMENT (NULL, playbin, "playbin", "playbin");
-
-  gconf = gst_default_registry_find_plugin ("gconfelements");
+  gconf = gst_registry_find_plugin (gst_registry_get (), "gconfelements");
   has_gconf = (gconf != NULL);
   gst_object_unref (gconf);
 



More information about the gstreamer-commits mailing list