]> git.sesse.net Git - ffmpeg/commit
mov: Add option to keep exact packet sequence after seeking
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 17 Mar 2015 14:19:31 +0000 (14:19 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 18 Mar 2015 14:30:07 +0000 (14:30 +0000)
commit414d6547f33175b3f53eb3320aa13161a584a151
tree3ba0050e56d116866d6074df1b14943709f8a529
parentfbb9ef5b1727b9d133987617afad7a9f62781d9d
mov: Add option to keep exact packet sequence after seeking

The current behavior may produce a different sequence of packets
after seeking, compared to demuxing linearly from the beginning.
This is because the MOV demuxer seeks in each stream individually,
based on timestamp, which may set each stream at a slightly different
position than if the file would have been read sequentially.

This makes implementing certain operations, such as segmenting,
quite hard, and slower than need be.

Therefore, add an option which retains the same packet sequence
after seeking, as when a file is demuxed linearly.
libavformat/isom.h
libavformat/mov.c
libavformat/version.h