summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2013-01-31 22:55:18 +1100
committerWim Taymans <wim.taymans@collabora.co.uk>2013-01-31 16:46:38 +0100
commit4fc33bf6f49952984691ea19277cecf9f67769b2 (patch)
tree5b41921ee71a4c56210fe8c850bfee2b4340c575
parent3e54bb53ef51c2d553eb5570ec207f301bbe93da (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.c2
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,