diff --git a/tests/icles/pitch-test.c b/tests/icles/pitch-test.c index b5944b42d8..96a56b481f 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) {