[FFmpeg-devel] [PATCH] mov demux fails to seek all streams to beginning of file
Mon Apr 26 18:35:34 CEST 2010
The scenario is an mov that has an edit list that causes the first
timestamp of the first stream to precede the first timestamp of other
streams in the file. When attempting to seek back to the beginning of
the file with av_seek_frame, only the first streams position gets
updated. The other streams positions remain where they were.
mov_read_seek first seeks to the requested position of the first stream
in the file (using mov_seek_stream). Then it uses the timestamp of that
position to seek within all other streams using mov_seek_stream. If
that timestamp is before the first timestamp of these other streams,
mov_seek_stream fails and leaves the position unchanged.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel