From 2b18ec9ece6f95273267b5be192586ddf914934a Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 19 Dec 2011 23:51:19 +0100 Subject: [PATCH] controller: port to new interpolation-mode api --- tests/icles/pitch-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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));