mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
videomixer2: Fix a leak
Buffers weren't being unref'ed in one case inside, causing memory usage to blow up.
This commit is contained in:
parent
98075ad70d
commit
cc7aeb3f33
1 changed files with 1 additions and 0 deletions
|
@ -770,6 +770,7 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
|
|||
} else if (start_time >= output_end_time) {
|
||||
GST_DEBUG_OBJECT (pad, "Keeping buffer until %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (start_time));
|
||||
gst_buffer_unref (buf);
|
||||
eos = FALSE;
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (pad, "Too old buffer -- dropping");
|
||||
|
|
Loading…
Reference in a new issue