diff options
author | Matthew Waters <ystreet00@gmail.com> | 2013-01-31 22:55:18 +1100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-01-31 16:46:38 +0100 |
commit | 4fc33bf6f49952984691ea19277cecf9f67769b2 (patch) | |
tree | 5b41921ee71a4c56210fe8c850bfee2b4340c575 | |
parent | 3e54bb53ef51c2d553eb5570ec207f301bbe93da (diff) |
videomixer: fix eos timestamp check
fixes hang in videotestsrc num-buffers=20 ! videomixer ! fakesink
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692935
-rw-r--r-- | gst/videomixer/videomixer2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 9f1aefca9..8b44ff09c 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -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, |