controller: port to new interpolation-mode api

This commit is contained in:
Stefan Sauer 2011-12-19 23:51:19 +01:00
parent dd346a217c
commit 2b18ec9ece

View file

@ -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));