[0.11] gst-plugins-bad: controller: adapt to controller api changes

Stefan Kost ensonic at kemper.freedesktop.org
Fri Jan 20 05:55:18 PST 2012


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

Author: Stefan Sauer <ensonic at users.sf.net>
Date:   Fri Jan 20 11:40:00 2012 +0100

controller: adapt to controller api changes

Don't use the convenience api for control sources.

---

 tests/icles/pitch-test.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/icles/pitch-test.c b/tests/icles/pitch-test.c
index b5944b4..96a56b4 100644
--- a/tests/icles/pitch-test.c
+++ b/tests/icles/pitch-test.c
@@ -71,7 +71,8 @@ main (int argc, char **argv)
   csource = gst_interpolation_control_source_new ();
   g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
 
-  gst_object_set_control_source (pitch, "pitch", GST_CONTROL_SOURCE (csource));
+  gst_object_set_control_binding (pitch,
+      gst_control_binding_new (pitch, "pitch", GST_CONTROL_SOURCE (csource)));
   cs = (GstTimedValueControlSource *) csource;
 
   for (i = 0; i < 100; ++i) {



More information about the gstreamer-commits mailing list