avidemux: push mode; use proper movi offset for movi based index

Fixes #623357.
This commit is contained in:
Mark Nauwelaerts 2010-07-29 17:18:11 +02:00
parent bef350bf34
commit 99dd8fb921

View file

@ -2769,7 +2769,7 @@ gst_avi_demux_stream_index_push (GstAviDemux * avi)
GST_DEBUG ("will parse index chunk size %u for tag %" GST_DEBUG ("will parse index chunk size %u for tag %"
GST_FOURCC_FORMAT, GST_BUFFER_SIZE (buf), GST_FOURCC_ARGS (tag)); GST_FOURCC_FORMAT, GST_BUFFER_SIZE (buf), GST_FOURCC_ARGS (tag));
avi->offset = avi->first_movi_offset - 8; avi->offset = avi->first_movi_offset;
gst_avi_demux_parse_index (avi, buf); gst_avi_demux_parse_index (avi, buf);
#ifndef GST_DISABLE_GST_DEBUG #ifndef GST_DISABLE_GST_DEBUG