mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
mplayer: don't print bogus status when caching
When streaming from http, this could print a status line indicating paused playback instead of "buffering" sometimes.
This commit is contained in:
parent
f8d32b03bf
commit
10d9d2a1fa
@ -3133,8 +3133,8 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx)
|
||||
unpause_player(mpctx);
|
||||
} else if (!mpctx->paused) {
|
||||
if (cache >= 0 && cache <= opts->stream_cache_pause && !idle) {
|
||||
pause_player(mpctx);
|
||||
mpctx->paused_for_cache = true;
|
||||
pause_player(mpctx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user