mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
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:
parent
b89a47ed66
commit
0934af6cce
1 changed files with 1 additions and 2 deletions
|
@ -1147,8 +1147,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
|
||||||
"output_end_running_time. Keeping previous buffer");
|
"output_end_running_time. Keeping previous buffer");
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (pad, "buffer duration is -1, start_time >= "
|
GST_DEBUG_OBJECT (pad, "buffer duration is -1, start_time >= "
|
||||||
"output_end_running_time. No previous buffer, need more data");
|
"output_end_running_time. No previous buffer.");
|
||||||
need_more_data = TRUE;
|
|
||||||
}
|
}
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue