controller: move from control-binding to control-binding-direct
authorStefan Sauer <ensonic@users.sf.net>
Sat, 21 Jan 2012 19:08:36 +0000 (20:08 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 23 Jan 2012 10:04:30 +0000 (11:04 +0100)
tests/icles/pitch-test.c

index a1d160f7c549853b71b8f8e5ec80e3bf4e6c0c97..511e58e50f8c8015e7813b8b619fdd134f7783e6 100644 (file)
@@ -72,7 +72,8 @@ main (int argc, char **argv)
   g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
 
   gst_object_add_control_binding (pitch,
-      gst_control_binding_new (pitch, "pitch", GST_CONTROL_SOURCE (csource)));
+      gst_control_binding_direct_new (pitch, "pitch",
+          GST_CONTROL_SOURCE (csource)));
   cs = (GstTimedValueControlSource *) csource;
 
   for (i = 0; i < 100; ++i) {