summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 6dffc4c010..216103e95f 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -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);
}
}
}