summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-17 01:10:43 +0200
committerwm4 <wm4@nowhere>2014-10-17 01:10:49 +0200
commitca038d9a228f33bef7420abadce76e9e6f57fbb6 (patch)
treecbdced2019df00ef35ac77a505f153791cc0dbc3
parent0a7a70f1989ac79ac1d3352af3d37b85b7734977 (diff)
downloadmpv-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
-rw-r--r--player/audio.c1
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
}