summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-19 21:33:48 +0200
committerwm4 <wm4@nowhere>2015-05-19 21:33:48 +0200
commit10915000fbb0d3a5531f7dcfe9428c15a0508680 (patch)
tree6a9989b867e6e6fcd79f31e94db7cdf835c235ac /audio
parent0c84f6e820315fe40c85b4bc9a375c341b16e507 (diff)
downloadmpv-10915000fbb0d3a5531f7dcfe9428c15a0508680.tar.bz2
mpv-10915000fbb0d3a5531f7dcfe9428c15a0508680.tar.xz
audio: avoid wasting CPU due to continuous wakeup
Thsi code path happens during seeking. If video is still being decoded to get to the first video frame, audio has nothing to do, as it is synchronized against the first video frame. We only want to wake up if there's an actual state change. Fixes #1958.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions