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:
wm4 2013-04-10 17:14:20 +02:00
parent f8d32b03bf
commit 10d9d2a1fa
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}