mpv/demux
wm4 de0f3747ee demux: fix dropped subtitle packets with the new stream switching
If the previous subtitle packet is too far back, and the refresh seek
won't pick it up, and the packet never comes again. As a consequence,
the refresh mode was never stopped on the subtitle stream, which caused
all packets to be discarded.

Fix by assuming the file position is monotonically increasing; then it
will resume even if a packet _after_ the intended resume point is
returned. This introduces a new requirement on how the demuxer behaves.
(I'm not sure if mp4 actually satisfies this requirement in all cases.)

Fixes a regression introduced by commit f9f2e1cc.
2015-02-14 14:29:21 +01:00
..
codec_tags.c
codec_tags.h
demux.c demux: fix dropped subtitle packets with the new stream switching 2015-02-14 14:29:21 +01:00
demux.h demux: fix dropped subtitle packets with the new stream switching 2015-02-14 14:29:21 +01:00
demux_cue.c
demux_disc.c demux_disc: fix CDDA seekability 2015-02-03 19:32:30 +01:00
demux_edl.c
demux_lavf.c demux: hack for instant stream switching 2015-02-13 21:17:17 +01:00
demux_libass.c
demux_mf.c demux_mf: move mf.c contents to demux_mf.c 2014-12-29 23:09:50 +01:00
demux_mkv.c demux: hack for instant stream switching 2015-02-13 21:17:17 +01:00
demux_playlist.c demux_playlist: unquote entries in pls playlists 2014-12-30 13:24:43 +01:00
demux_raw.c demux_raw: output smaller audio packets 2015-02-04 10:42:23 +01:00
demux_subreader.c command: export file format as property 2015-01-23 15:59:06 +01:00
demux_tv.c
ebml.c demux_mkv: fix EBML parsing checks 2015-01-12 14:31:31 +01:00
ebml.h
matroska.h demux_mkv: reduce log noise 2014-12-29 23:14:19 +01:00
packet.c demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
packet.h demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
stheader.h