Skip to content

demux: mp4: fix track seek for tracks with rollback info

Andrey Turkin requested to merge andrey.turkin/vlc:mov-seek-rollback into master

Such as AAC audio tracks.

i_sync_sample is set to start of group by MP4_SampleToGroupInfo. For rolling recovery tracks it makes no sense to move that point back; instead, we only need to step roll distance back from our intended sample to prime a decoder. This fixes switching between AAC audio tracks in mp4 files.

Merge request reports