controller: adapt to control binding changes

This commit is contained in:
Stefan Sauer 2012-01-20 14:46:00 +01:00
parent 839ce7e59f
commit 688b6c9ac8

View file

@ -71,7 +71,7 @@ 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_binding (pitch,
gst_object_add_control_binding (pitch,
gst_control_binding_new (pitch, "pitch", GST_CONTROL_SOURCE (csource)));
cs = (GstTimedValueControlSource *) csource;