1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00
mpv/demux
wm4 6fe75c38d8 demux_mkv: read headers at the end of the file sorted by position
Try to read header elements stored at the end of the file in the order
of their position. (It would be nicer if mkv simply told us a range of
elements to parse, but it doesn't do that.)

This can potentially reduce seek elements, although I didn't check if
any real files trigger this. The real contribution by this change is
that it does not defer reading the CUE index if we need to seek to the
end of the file anyway. This can actually avoid 2 seeks when opening a
file and --start is used, and the file has other headers elements at the
end of the file (like tags).
2017-05-15 16:40:57 +02:00
..
codec_tags.c codec_tags: minor simplification 2017-04-18 05:35:50 +02:00
codec_tags.h
cue.c cue: accept lower-case cue commands 2017-01-24 08:57:51 +01:00
cue.h
demux_cue.c demux_cue: include io.h for Windows UTF-8 filesystem functions 2017-04-04 17:45:19 +02:00
demux_disc.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
demux_edl.c demux_edl: fix behavior with no init segment provided 2017-02-05 15:51:36 +01:00
demux_lavf.c demux_lavf: disable half-working mp4 edit list support in libavcodec 2017-04-07 13:12:10 +02:00
demux_libarchive.c demux, stream: add option to prevent opening referenced files 2016-12-04 23:15:31 +01:00
demux_mf.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
demux_mkv_timeline.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
demux_mkv.c demux_mkv: read headers at the end of the file sorted by position 2017-05-15 16:40:57 +02:00
demux_null.c demux_null: fix segfault with --cache enabled 2016-03-05 00:56:55 +01:00
demux_playlist.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
demux_rar.c demux, stream: add option to prevent opening referenced files 2016-12-04 23:15:31 +01:00
demux_raw.c demux: do not access global options 2016-09-06 20:09:56 +02:00
demux_timeline.c demux_timeline: more silencing 2017-02-04 23:10:04 +01:00
demux_tv.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
demux.c demux: estimate total packet size, deprecate packet number limits 2017-04-14 19:19:44 +02:00
demux.h ytdl_hook, edl: implement pseudo-DASH support 2017-02-04 22:34:38 +01:00
ebml.c ebml, matroska.h: change license to LGPL 2017-04-21 13:34:10 +02:00
ebml.h ebml, matroska.h: change license to LGPL 2017-04-21 13:34:10 +02:00
matroska.h ebml, matroska.h: change license to LGPL 2017-04-21 13:34:10 +02:00
packet.c demux/packet: change license to LGPL 2017-04-21 13:34:10 +02:00
packet.h demux/packet: change license to LGPL 2017-04-21 13:34:10 +02:00
stheader.h demux/stheader: change license to LGPL 2017-05-10 13:18:08 +02:00
timeline.c ytdl_hook, edl: implement pseudo-DASH support 2017-02-04 22:34:38 +01:00
timeline.h ytdl_hook, edl: implement pseudo-DASH support 2017-02-04 22:34:38 +01:00