mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
collectpads: call clip function with user data
This commit is contained in:
parent
04b9dbccfb
commit
81aef52ac4
1 changed files with 1 additions and 1 deletions
|
@ -1568,7 +1568,7 @@ gst_collect_pads_clip_time (GstCollectPads * pads, GstCollectData * data,
|
||||||
if (pads->priv->clip_func) {
|
if (pads->priv->clip_func) {
|
||||||
in = gst_buffer_new ();
|
in = gst_buffer_new ();
|
||||||
GST_BUFFER_TIMESTAMP (in) = time;
|
GST_BUFFER_TIMESTAMP (in) = time;
|
||||||
pads->priv->clip_func (pads, data, in, &out, NULL);
|
pads->priv->clip_func (pads, data, in, &out, pads->priv->clip_user_data);
|
||||||
if (out) {
|
if (out) {
|
||||||
otime = GST_BUFFER_TIMESTAMP (out);
|
otime = GST_BUFFER_TIMESTAMP (out);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue