diff options
author | wm4 <wm4@nowhere> | 2014-08-31 14:38:47 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-09-01 14:48:17 +0200 |
commit | 6a355959d95a3393c58054476687017bd20ab266 (patch) | |
tree | a6e0c4763ce104010dc29507dfc0a1ce75317790 /demux/demux_mkv.c | |
parent | 36bdbbe716a93c2fa213ee16e86b267cd6a207f8 (diff) | |
download | mpv-6a355959d95a3393c58054476687017bd20ab266.tar.bz2 mpv-6a355959d95a3393c58054476687017bd20ab266.tar.xz |
audio/out: prevent burning CPU when seeking while paused
The audio/video sync code in player/audio.c calls ao_reset() each time
audio decoding is entered, but the player is paused, and there would be
more than 1 sample to skip to make audio start match with video start.
This caused a wakeup feedback loop with push.c.
CC: @mpv-player/stable
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions