Commit cc7aeb3f authored by Arun Raghavan's avatar Arun Raghavan
Browse files

videomixer2: Fix a leak

Buffers weren't being unref'ed in one case inside, causing memory usage
to blow up.
parent 98075ad7
......@@ -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");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment