diff options
author | wm4 <wm4@nowhere> | 2013-05-22 23:57:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-23 01:02:24 +0200 |
commit | 1139eae082b30e1230c1b882ddd472bfadd37e32 (patch) | |
tree | 6fba1c39d803c370bf7fda23756b4ca6741d1a00 /demux/mf.h | |
parent | 89b8154aadd6982b5c6ddb1de5614daedb0850f1 (diff) | |
download | mpv-1139eae082b30e1230c1b882ddd472bfadd37e32.tar.bz2 mpv-1139eae082b30e1230c1b882ddd472bfadd37e32.tar.xz |
demux_mkv: use a single flag to indicate whether cues have been read
Before this commit, the demuxer would in theory accept multiple cues
elements (and append its contents to the index in the order as
encountered during reading). According to the Matroska specification,
there can be only one cues element in the segment, so this seems like
an overcomplication.
Change it so that redundant elements are ignored, like with all other
unique header elements. This makes implementing deferred reading of the
cues element easier.
Diffstat (limited to 'demux/mf.h')
0 files changed, 0 insertions, 0 deletions