1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/demux
wm4 a6694d2788 demux_mkv: adjust subtitle preroll again (2)
Make the changes started in commit c827ae5f more eloborate, and provide
an option to control the amount of data read before the seek-target. To
achieve this, rewrite the loop that finds the lowest still acceptable
target cluster. It is now searched by time instead of file position. The
behavior (both with and without preroll option) may be different from
before this change, although it shouldn't be worse.

The change demux_mkv_read_cues() fixes a bug: when seeking after playing
normally, the code would erroneously assume that durations are set. This
doesn't happen if the first operation after loading was a seek instead
of playback.
2014-11-15 00:55:30 +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_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 (2) 2014-11-15 00:55:30 +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
demux.c demux: update cache state when paused 2014-11-12 21:47:41 +01:00
demux.h player: always use demux_chapter 2014-11-02 17:29:41 +01: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
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