controller: port to new controller api

This commit is contained in:
Stefan Sauer 2011-12-19 22:53:57 +01:00
parent 4f42f58565
commit eba47a0fc2

View file

@ -107,7 +107,8 @@ set_program (GstObject * elem, GstStructure * prog)
} }
gst_structure_get_int (s, name, &v); gst_structure_get_int (s, name, &v);
g_value_set_int (&val, v); g_value_set_int (&val, v);
gst_interpolation_control_source_set (cs, ts, &val); gst_timed_value_control_source_set ((GstTimedValueControlSource *) cs, ts,
&val);
GST_DEBUG (" %s = %d", name, v); GST_DEBUG (" %s = %d", name, v);
} }
ts += dur; ts += dur;