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
@ -791,7 +791,7 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (mixcol->end_time != -1) {
|
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);
|
gst_buffer_replace (&mixcol->buffer, NULL);
|
||||||
mixcol->start_time = mixcol->end_time = -1;
|
mixcol->start_time = mixcol->end_time = -1;
|
||||||
if (!GST_COLLECT_PADS_STATE_IS_SET (mixcol,
|
if (!GST_COLLECT_PADS_STATE_IS_SET (mixcol,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user