mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
controller: port to new controller api
This commit is contained in:
parent
4f42f58565
commit
eba47a0fc2
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue