summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-09 16:21:17 +0100
committerwm4 <wm4@nowhere>2014-02-12 22:33:03 +0100
commitd42212cd679d99e2c865d84c618c1e661cd5fa16 (patch)
treecb68782f33b7c8f86f1de961d400bc7e6a41040b /demux/demux.c
parent674cc1d3a93d2bfb8e1964d26f4e073af74f0c24 (diff)
downloadmpv-d42212cd679d99e2c865d84c618c1e661cd5fa16.tar.bz2
mpv-d42212cd679d99e2c865d84c618c1e661cd5fa16.tar.xz
player: fix an assert when reinitializing audio in some cases
This sometimes happened when changing playback speed (= reinitializing audio) after seeking of playback start. The assertion in audio.c:441 was triggered, because buffer_playable_samples wasn't reset correctly when the audio buffer was cleared or shortened. The assertion is correct and should hold up any time.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions