diff options
author | wm4 <wm4@nowhere> | 2014-10-17 01:10:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-17 01:10:49 +0200 |
commit | ca038d9a228f33bef7420abadce76e9e6f57fbb6 (patch) | |
tree | cbdced2019df00ef35ac77a505f153791cc0dbc3 /player | |
parent | 0a7a70f1989ac79ac1d3352af3d37b85b7734977 (diff) | |
download | mpv-ca038d9a228f33bef7420abadce76e9e6f57fbb6.tar.bz2 mpv-ca038d9a228f33bef7420abadce76e9e6f57fbb6.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
Diffstat (limited to 'player')
-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 50b2de9724..5078e04dee 100644 --- a/player/audio.c +++ b/player/audio.c @@ -455,6 +455,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts) return; } reinit_audio_chain(mpctx); + mpctx->sleeptime = 0; return; // try again next iteration } |