mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
controller: rename control-bindings
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
This commit is contained in:
parent
848e107146
commit
1696b14f8f
2 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <string.h>
|
||||
#include <gst/gst.h>
|
||||
#include <gst/controller/gstinterpolationcontrolsource.h>
|
||||
#include <gst/controller/gstcontrolbindingdirect.h>
|
||||
#include <gst/controller/gstdirectcontrolbinding.h>
|
||||
|
||||
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 */
|
||||
|
|
Loading…
Reference in a new issue