diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2011-12-19 23:51:19 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2011-12-19 23:51:19 +0100 |
commit | 2b18ec9ece6f95273267b5be192586ddf914934a (patch) | |
tree | 7bf275bb64dadc2d93d71a9156032dd7398a43c4 /tests/icles | |
parent | dd346a217c381c4b97d8ce8da7de4e0344707360 (diff) | |
download | gstreamer-plugins-bad-2b18ec9ece6f95273267b5be192586ddf914934a.tar.gz |
controller: port to new interpolation-mode api
Diffstat (limited to 'tests/icles')
-rw-r--r-- | tests/icles/pitch-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/icles/pitch-test.c b/tests/icles/pitch-test.c index af1a415df..2936dd0d3 100644 --- a/tests/icles/pitch-test.c +++ b/tests/icles/pitch-test.c @@ -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)); |