controller: move from control-binding to control-binding-direct
This commit is contained in:
parent
840a3a5b36
commit
20574b09a3
@ -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…
x
Reference in New Issue
Block a user