diff --git a/tests/icles/pitch-test.c b/tests/icles/pitch-test.c index af1a415dfe..2936dd0d3b 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));