mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
collectpads: fix buffer leak in clip_time
This commit is contained in:
parent
81aef52ac4
commit
bb2fda64f7
1 changed files with 1 additions and 0 deletions
|
@ -1571,6 +1571,7 @@ gst_collect_pads_clip_time (GstCollectPads * pads, GstCollectData * data,
|
|||
pads->priv->clip_func (pads, data, in, &out, pads->priv->clip_user_data);
|
||||
if (out) {
|
||||
otime = GST_BUFFER_TIMESTAMP (out);
|
||||
gst_buffer_unref (out);
|
||||
} else {
|
||||
/* FIXME should distinguish between ahead or after segment,
|
||||
* let's assume after segment and use some large time ... */
|
||||
|
|
Loading…
Reference in a new issue