avidemux: Stop scanning at the last entry... and not the one before :)

This ensures we actually push out everything
This commit is contained in:
Edward Hervey 2009-10-20 18:23:28 +02:00
parent c917d65e6d
commit 683f2a02fb

View file

@ -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 */