mpv/demux
wm4 c827ae5f36 demux_mkv: adjust subtitle preroll again
Revert commit 24e52f66; even though the old beheavior doesn't make sense
(as the commit message assured), it turns out that this works better:
typically, it means preroll will start from the previous video key frame
(the video CUE index will contain clusters with video key frames only),
which often coincides with subtitle changes. Thus the old behavior is
actually better.

Change the code that uses CueDuration elements. Instead of merely
checking whether preroll should be done, find the first cluster that
needs to be read to get all subtitle packets. (The intention is to
compensate for the enlarged preroll cluster-range due to reverting
commit 24e52f66.)
2014-11-11 19:36:03 +01:00
..
codec_tags.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
codec_tags.h audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux.c demux: report 0s readahead time as fallback in some situations 2014-11-05 03:03:27 +01:00
demux.h player: always use demux_chapter 2014-11-02 17:29:41 +01:00
demux_cue.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
demux_disc.c player: always use demux_chapter 2014-11-02 17:29:41 +01:00
demux_edl.c
demux_lavf.c player: always use demux_chapter 2014-11-02 17:29:41 +01:00
demux_libass.c
demux_mf.c demux: gracefully handle packet allocation failures 2014-09-16 18:11:00 +02:00
demux_mkv.c demux_mkv: adjust subtitle preroll again 2014-11-11 19:36:03 +01:00
demux_playlist.c demux_playlist: redirect ASF streaming to mmsh:// 2014-10-30 22:25:08 +01:00
demux_raw.c stream_cdda, demux_raw: always use s16le 2014-09-25 21:32:06 +02:00
demux_subreader.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
ebml.c demux_mkv: fix undefined shifts 2014-11-08 10:21:12 +01:00
ebml.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
matroska.h demux_mkv: add S_DVBSUB 2014-06-17 22:44:27 +02:00
mf.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
mf.h
packet.c demux: unbreak build with Libav 2014-11-03 22:30:07 +01:00
packet.h demux_mkv: implement audio skipping/trimming 2014-11-03 20:20:28 +01:00
stheader.h player: add stream selection by ffmpeg index 2014-10-21 13:19:20 +02:00