Commit 511dfa5e authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

avidemux: push mode: find the correct chunk for segment following seek

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684977
parent f0db4a82
......@@ -767,7 +767,7 @@ gst_avi_demux_handle_sink_event (GstPad * pad, GstObject * parent,
k = i;
}
/* exact match needs no further searching */
if (stream->index[index].offset == segment.start)
if (stream->index[index].offset == boffset)
break;
} while (++i < avi->num_streams);
boffset -= 8;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment