From 683f2a02fba889193c4eabb95aea143fdb4cc961 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 20 Oct 2009 18:23:28 +0200 Subject: [PATCH] avidemux: Stop scanning at the last entry... and not the one before :) This ensures we actually push out everything --- gst/avi/gstavidemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index d86531c178..bc0f17f0aa 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -3912,7 +3912,7 @@ gst_avi_demux_advance (GstAviDemux * avi, GstAviStream * stream, new_entry = old_entry + 1; /* see if we reached the end */ - if (new_entry >= stream->stop_entry) { + if (new_entry > stream->stop_entry) { if (avi->segment.rate < 0.0) { if (stream->step_entry == stream->start_entry) { /* we stepped all the way to the start, eos */