mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
queue2: fix buffer leak on eos when using the ring buffer
This commit is contained in:
parent
46a786cee6
commit
12249e99c2
1 changed files with 1 additions and 0 deletions
|
@ -1212,6 +1212,7 @@ gst_queue2_create_read (GstQueue2 * queue, guint64 offset, guint length,
|
|||
} else {
|
||||
GST_DEBUG_OBJECT (queue,
|
||||
"EOS hit and we don't have any requested data");
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_UNEXPECTED;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue