summaryrefslogtreecommitdiffstats
path: root/osdep/timer-darwin.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-09 16:21:17 +0100
committerwm4 <wm4@nowhere>2014-02-09 18:59:44 +0100
commitc0771b8144205e128ebe65f534c580c54b42436e (patch)
tree501c41df4f6acc9069e3cbdddec5295ece1d9fde /osdep/timer-darwin.c
parent257d9f161027a6b9fa972aee3826029f9fbfac87 (diff)
downloadmpv-c0771b8144205e128ebe65f534c580c54b42436e.tar.bz2
mpv-c0771b8144205e128ebe65f534c580c54b42436e.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 'osdep/timer-darwin.c')
0 files changed, 0 insertions, 0 deletions