collectpads: call clip function with user data

This commit is contained in:
Mark Nauwelaerts 2012-10-15 18:44:52 +02:00
parent 04b9dbccfb
commit 81aef52ac4

View file

@ -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 {