controller: port to new interpolation-mode api

This commit is contained in:
Stefan Sauer 2011-12-19 23:50:19 +01:00
parent eba47a0fc2
commit a65e641f18

View file

@ -100,8 +100,7 @@ set_program (GstObject * elem, GstStructure * prog)
if (!cs) {
cs = gst_interpolation_control_source_new ();
gst_object_set_control_source (elem, name, GST_CONTROL_SOURCE (cs));
gst_interpolation_control_source_set_interpolation_mode (cs,
GST_INTERPOLATE_NONE);
g_object_set (cs, "mode", GST_INTERPOLATION_MODE_NONE, NULL);
g_hash_table_insert (css, (gpointer) name, cs);
g_object_unref (cs);
}