mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
player: don't fall asleep on audio decoding errors
This makes it retry later. Fixes #1474.
This commit is contained in:
parent
7aaf71861e
commit
4e419b2b7b
@ -507,6 +507,8 @@ static void do_fill_audio_out_buffers(struct MPContext *mpctx, double endpts)
|
||||
mpctx->sleeptime = 0;
|
||||
return; // retry on next iteration
|
||||
}
|
||||
if (status == AD_ERR)
|
||||
mpctx->sleeptime = 0;
|
||||
}
|
||||
|
||||
// If EOF was reached before, but now something can be decoded, try to
|
||||
|
Loading…
Reference in New Issue
Block a user