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:
Matthew Waters 2013-01-31 22:55:18 +11:00 committed by Wim Taymans
parent 18ff57d6b3
commit b9151a9c28

View file

@ -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,