mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
videomixer: fix eos timestamp check
fixes hang in videotestsrc num-buffers=20 ! videomixer ! fakesink Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692935
This commit is contained in:
parent
18ff57d6b3
commit
b9151a9c28
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
|
|||
}
|
||||
} else {
|
||||
if (mixcol->end_time != -1) {
|
||||
if (mixcol->end_time < output_start_time) {
|
||||
if (mixcol->end_time <= output_start_time) {
|
||||
gst_buffer_replace (&mixcol->buffer, NULL);
|
||||
mixcol->start_time = mixcol->end_time = -1;
|
||||
if (!GST_COLLECT_PADS_STATE_IS_SET (mixcol,
|
||||
|
|
Loading…
Reference in a new issue