mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
controller: adapt to controller api changes
Don't use the convenience api for control sources.
This commit is contained in:
parent
27ee60a27b
commit
839ce7e59f
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ main (int argc, char **argv)
|
||||||
csource = gst_interpolation_control_source_new ();
|
csource = gst_interpolation_control_source_new ();
|
||||||
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
||||||
|
|
||||||
gst_object_set_control_source (pitch, "pitch", GST_CONTROL_SOURCE (csource));
|
gst_object_set_control_binding (pitch,
|
||||||
|
gst_control_binding_new (pitch, "pitch", GST_CONTROL_SOURCE (csource)));
|
||||||
cs = (GstTimedValueControlSource *) csource;
|
cs = (GstTimedValueControlSource *) csource;
|
||||||
|
|
||||||
for (i = 0; i < 100; ++i) {
|
for (i = 0; i < 100; ++i) {
|
||||||
|
|
Loading…
Reference in a new issue