From: Stefan Sauer Date: Sat, 21 Jan 2012 19:06:53 +0000 (+0100) Subject: controller: move from control-binding to control-binding-direct X-Git-Tag: RELEASE-0.11.2~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b55d67b1d253395ad612c6c5bfe7cd0e478b6467;p=platform%2Fupstream%2Fgst-plugins-base.git controller: move from control-binding to control-binding-direct --- diff --git a/tests/check/elements/volume.c b/tests/check/elements/volume.c index c841d21..d692b59 100644 --- a/tests/check/elements/volume.c +++ b/tests/check/elements/volume.c @@ -1731,7 +1731,7 @@ GST_START_TEST (test_controller_usability) csource = gst_interpolation_control_source_new (); g_object_set (csource, "mode", GST_INTERPOLATION_MODE_CUBIC, NULL); gst_object_add_control_binding (GST_OBJECT_CAST (volume), - gst_control_binding_new (GST_OBJECT_CAST (volume), "volume", + gst_control_binding_direct_new (GST_OBJECT_CAST (volume), "volume", GST_CONTROL_SOURCE (csource))); cs = (GstTimedValueControlSource *) csource; @@ -1761,7 +1761,7 @@ GST_START_TEST (test_controller_processing) csource = gst_interpolation_control_source_new (); g_object_set (csource, "mode", GST_INTERPOLATION_MODE_CUBIC, NULL); gst_object_add_control_binding (GST_OBJECT_CAST (volume), - gst_control_binding_new (GST_OBJECT_CAST (volume), "volume", + gst_control_binding_direct_new (GST_OBJECT_CAST (volume), "volume", GST_CONTROL_SOURCE (csource))); fail_unless (gst_element_set_state (volume, diff --git a/tests/icles/audio-trickplay.c b/tests/icles/audio-trickplay.c index a9ad296..a97871e 100644 --- a/tests/icles/audio-trickplay.c +++ b/tests/icles/audio-trickplay.c @@ -128,10 +128,10 @@ main (gint argc, gchar ** argv) csource2 = gst_interpolation_control_source_new (); gst_object_add_control_binding (GST_OBJECT_CAST (src), - gst_control_binding_new (GST_OBJECT_CAST (src), "volume", + gst_control_binding_direct_new (GST_OBJECT_CAST (src), "volume", GST_CONTROL_SOURCE (csource1))); gst_object_add_control_binding (GST_OBJECT_CAST (src), - gst_control_binding_new (GST_OBJECT_CAST (src), "freq", + gst_control_binding_direct_new (GST_OBJECT_CAST (src), "freq", GST_CONTROL_SOURCE (csource2))); /* Set interpolation mode */