videoaggregator: Don't wait if input buffer is after output

If the input buffer is after the end of the output buffer, then waiting
for more data won't help. We will never get an input buffer for this point.

This fixes compositing of streams from rtspsrc.

https://bugzilla.gnome.org/show_bug.cgi?id=766422
This commit is contained in:
Olivier Crête 2016-05-14 11:56:59 +02:00
parent b89a47ed66
commit 0934af6cce

View file

@ -1147,8 +1147,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
"output_end_running_time. Keeping previous buffer");
} else {
GST_DEBUG_OBJECT (pad, "buffer duration is -1, start_time >= "
"output_end_running_time. No previous buffer, need more data");
need_more_data = TRUE;
"output_end_running_time. No previous buffer.");
}
gst_buffer_unref (buf);
continue;