diff options
author | wm4 <wm4@nowhere> | 2015-02-13 21:17:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-13 21:17:07 +0100 |
commit | 11bd80b31e0d039b1193f8c68d3bb9e5bf6a4a28 (patch) | |
tree | d7d05814cd54d643d7fb958a5287c3a0941c4f1d /demux/ebml.c | |
parent | 3931544ef33196e1966c416cc0d60d4160cf27fb (diff) | |
download | mpv-11bd80b31e0d039b1193f8c68d3bb9e5bf6a4a28.tar.bz2 mpv-11bd80b31e0d039b1193f8c68d3bb9e5bf6a4a28.tar.xz |
demux_mkv: return unique file positions for all packets
Until now, some packets could return the same file position if they were
split off from a Matroska-level packet. This was perfectly fine, because
the file position isn't used for anything overly important (it uses it
to estimate playback position if no other information is available). The
following commit will use the demux_packet.pos field as unique ID (as a
simplification), so make the demuxer export more finegrained
information.
Also, the last_filepos field didn't have to be global, at least not
anymore.
Diffstat (limited to 'demux/ebml.c')
0 files changed, 0 insertions, 0 deletions