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:
Arun Raghavan 2011-10-14 10:56:16 +05:30
parent 98075ad70d
commit cc7aeb3f33

View file

@ -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");