mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
controller: port to new interpolation-mode api
This commit is contained in:
parent
dd346a217c
commit
2b18ec9ece
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ main (int argc, char **argv)
|
|||
}
|
||||
|
||||
csource = gst_interpolation_control_source_new ();
|
||||
gst_interpolation_control_source_set_interpolation_mode (csource,
|
||||
GST_INTERPOLATE_LINEAR);
|
||||
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
||||
|
||||
gst_controller_set_control_source (ctl, "pitch",
|
||||
GST_CONTROL_SOURCE (csource));
|
||||
|
|
Loading…
Reference in a new issue