summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 288da019c0..4bc4ec6c73 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2189,7 +2189,8 @@ while(sh_audio){
playsize=audio_out->get_space();
// handle audio-only case:
- if(!playsize && !sh_video) { // buffer is full, do not block here!!!
+ if(playsize < ao_data.outburst &&
+ !sh_video) { // buffer is full, do not block here!!!
usec_sleep(10000); // Wait a tick before retry
continue;
}