summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-06 15:06:59 +0100
committerwm4 <wm4@nowhere>2015-03-06 15:06:59 +0100
commit12dcc5eaacdabb5ac56846ee81e9595857f4553e (patch)
treef2b75b5d877081b988017f426cb72529407fef53 /demux/demux.h
parent4ff29f33b0d86888a02524df5d6085c4bc29477e (diff)
downloadmpv-12dcc5eaacdabb5ac56846ee81e9595857f4553e.tar.bz2
mpv-12dcc5eaacdabb5ac56846ee81e9595857f4553e.tar.xz
demux_mkv: fix issues with unseekable streams
A user reported a webm stream that couldn't be played. The issue was that this stream 1. was on an unseekable HTTP connection, and 2. had a SeekHead element (wtf?). The code reading the SeekHead marked the element as unreadable too early: although you can't seek in the stream, reading the header elements after the SeekHead read them anyway. Marking them as unreadable only after the normal header reading fixes this. (The way the failing stream was setup was pretty retarded: inserting these SeekHead elements makes absolutely no sense for a stream that cannot be seeked.) Fixes #1656.
Diffstat (limited to 'demux/demux.h')
0 files changed, 0 insertions, 0 deletions