demux: mp4: rewrite main non fragmented Demux logic
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 28 Oct 2016 13:19:54 +0000 (15:19 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 31 Oct 2016 18:21:21 +0000 (19:21 +0100)
commit1583a49459f680250dc5ec951215c661c26b1b20
tree2ebda4df0b4a5d70790896ccf6519c8154497040
parent66c4cbb087903b8a0ca61737e914899f77d522a6
demux: mp4: rewrite main non fragmented Demux logic

Makes main demux aware of interleaving, and avoid
access layer seeks. Also improves the large interleaves
and non interleaved playback.

Fixes the pcr jumps, as a min() dts based logic isn't
suitable for edit lists.

Improves empty edits handling by keeping demuxing on
empty samples time.
modules/demux/mp4/mp4.c