summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-02 19:01:47 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-07-05 00:25:49 +0200
commitf78c0692e21d819456b9832dd50bdd2f0fa659f9 (patch)
treefdaa329aaa4503075d2627f7e2d352c4ec42ad0d /stream/stream_lavf.c
parent59f456cdd370e81d0681661303ebdd2289f2d5ee (diff)
downloadmpv-f78c0692e21d819456b9832dd50bdd2f0fa659f9.tar.bz2
mpv-f78c0692e21d819456b9832dd50bdd2f0fa659f9.tar.xz
cache: clear DVD timestamps
When resizing the cache, the buffer for the DVD timestamps is initialized with 0. This causes the player to always return playback position 0 with any file format (not just DVD), and also makes all relative seeks relative to position 0. Fix this by clearing the timestamps explicitly. Closes #899. CC: @mpv-player/stable
Diffstat (limited to 'stream/stream_lavf.c')
0 files changed, 0 insertions, 0 deletions