summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-05-15 16:40:57 +0200
committerwm4 <wm4@nowhere>2017-05-15 16:40:57 +0200
commit6fe75c38d87650dcc7f8acbd951842f5a8a101ac (patch)
tree40aa32310af1294b0b955dcca3f30bdf5cc138cf /DOCS
parent5f2c4d4799d33ae0e3362af3ee5055691e03e83a (diff)
downloadmpv-6fe75c38d87650dcc7f8acbd951842f5a8a101ac.tar.bz2
mpv-6fe75c38d87650dcc7f8acbd951842f5a8a101ac.tar.xz
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).
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions