summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-16 14:55:41 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-16 14:55:41 +0000
commit8b59dd4d83ac832a5526384094f01d3e0d34524c (patch)
tree2e265216699a9c1b3f048479bb410aabf500a0d8 /etc
parent95089cd853e9b7b6b110ad45cd48ea413956dc4e (diff)
downloadmpv-8b59dd4d83ac832a5526384094f01d3e0d34524c.tar.bz2
mpv-8b59dd4d83ac832a5526384094f01d3e0d34524c.tar.xz
Matroska seeking fixes
If a relative seek forward went past the last index position the Matroska demuxer did not seek to any index position. It did however set the mkv_d->skip_to_timecode variable which meant that the next fill_buffer() call would read from the current position until the target position (probably the end of the file). Fix this by changing the code to seek to the last index position if that is between the current and target positions. Also change backwards relative seek to accept an exactly matching index position (<= vs <) and reorganize the seeking conditionals to allow making the above change without turning the code into a complete mess. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22634 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions