diff options
author | wm4 <wm4@nowhere> | 2014-10-17 01:10:43 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-10-18 15:05:46 +0200 |
commit | b3707f4e2166244be7de5f85aa58c7ed7c6e9d14 (patch) | |
tree | a4c9c2f4b150e1056b3ec0906e057a3d9e84ed09 | |
parent | af58a8c3244e6b1d51db0543e770c6baaf4bc624 (diff) | |
download | mpv-b3707f4e2166244be7de5f85aa58c7ed7c6e9d14.tar.bz2 mpv-b3707f4e2166244be7de5f85aa58c7ed7c6e9d14.tar.xz |
audio: don't go to sleep after audio reinit
It possibly goes to sleep without actually starting to decode audio.
Possibly fixes a problem with --no-osc --no-video reported on IRC.
CC: @mpv-player/stable
-rw-r--r-- | player/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/audio.c b/player/audio.c index fffbcf78a9..3b3a06bd69 100644 --- a/player/audio.c +++ b/player/audio.c @@ -382,6 +382,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts) return; } reinit_audio_chain(mpctx); + mpctx->sleeptime = 0; return; // try again next iteration } |