From 1696b14f8f184aba9dc1ad6499caf2ec6c5def1d Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 30 Jan 2012 21:37:58 +0100 Subject: [PATCH] controller: rename control-bindings gst_control_binding_xxx -> gst_xxx_control_binding for consistency. --- tests/check/elements/volume.c | 4 ++-- tests/icles/audio-trickplay.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/check/elements/volume.c b/tests/check/elements/volume.c index ce108e9650..04e675f9ba 100644 --- a/tests/check/elements/volume.c +++ b/tests/check/elements/volume.c @@ -1705,7 +1705,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_direct_new (GST_OBJECT_CAST (volume), "volume", + gst_direct_control_binding_new (GST_OBJECT_CAST (volume), "volume", GST_CONTROL_SOURCE (csource))); cs = (GstTimedValueControlSource *) csource; @@ -1734,7 +1734,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_direct_new (GST_OBJECT_CAST (volume), "volume", + gst_direct_control_binding_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 58dc897ecd..20139b8966 100644 --- a/tests/icles/audio-trickplay.c +++ b/tests/icles/audio-trickplay.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include static void check_position (GstElement * elem, GstQuery * pos, const gchar * info) @@ -129,10 +129,10 @@ main (gint argc, gchar ** argv) csource2 = gst_interpolation_control_source_new (); gst_object_add_control_binding (GST_OBJECT_CAST (src), - gst_control_binding_direct_new (GST_OBJECT_CAST (src), "volume", + gst_direct_control_binding_new (GST_OBJECT_CAST (src), "volume", GST_CONTROL_SOURCE (csource1))); gst_object_add_control_binding (GST_OBJECT_CAST (src), - gst_control_binding_direct_new (GST_OBJECT_CAST (src), "freq", + gst_direct_control_binding_new (GST_OBJECT_CAST (src), "freq", GST_CONTROL_SOURCE (csource2))); /* Set interpolation mode */