summaryrefslogtreecommitdiffstats
path: root/demux/cue.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-01 20:48:45 +0200
committerwm4 <wm4@nowhere>2019-10-01 21:27:25 +0200
commit07d9ca5ee30e6ba31beaae329408997e817eb193 (patch)
treeba58260740dd07214a2fb4d216d3efbb182bdbc4 /demux/cue.c
parent1f76e6914596868e53b5ed4f50353ba44177ab4c (diff)
downloadmpv-07d9ca5ee30e6ba31beaae329408997e817eb193.tar.bz2
mpv-07d9ca5ee30e6ba31beaae329408997e817eb193.tar.xz
demux_mkv: better behavior/warnings on partial files/unseekable streams
demux_mkv may seek to the end of the file to read certain headers (which should probably be called "footers", but in theory they are just headers that have been placed at the end of the file unfortunately). This commit changes behavior not to seek if the stream is not marked as seekable. Before this, it only checked whether the stream size was unknown (end negative). In practice it doesn't make much of a difference, since seekable usually equals known stream size. Also improve the wording, and distinguish between actual incomplete files, and unseekable ones.
Diffstat (limited to 'demux/cue.c')
0 files changed, 0 insertions, 0 deletions