mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
controller: move from control-binding to control-binding-direct
This commit is contained in:
parent
840a3a5b36
commit
20574b09a3
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ main (int argc, char **argv)
|
|||
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
||||
|
||||
gst_object_add_control_binding (pitch,
|
||||
gst_control_binding_new (pitch, "pitch", GST_CONTROL_SOURCE (csource)));
|
||||
gst_control_binding_direct_new (pitch, "pitch",
|
||||
GST_CONTROL_SOURCE (csource)));
|
||||
cs = (GstTimedValueControlSource *) csource;
|
||||
|
||||
for (i = 0; i < 100; ++i) {
|
||||
|
|
Loading…
Reference in a new issue