summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-03 21:50:04 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-03 15:43:51 -0800
commite894f75bb570e20966d64607aa69d64ba9022bd8 (patch)
tree26f84a5540e6e3eae0cbc1ee817aa74a23bd87f1 /player
parentf798bc3c2542b4c3e7b4cb1483d41ce309b4fb51 (diff)
downloadmpv-e894f75bb570e20966d64607aa69d64ba9022bd8.tar.bz2
mpv-e894f75bb570e20966d64607aa69d64ba9022bd8.tar.xz
player: cosmetics: rename internal variable for consistency
This was so annoying.
Diffstat (limited to 'player')
-rw-r--r--player/playloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c
index e9d9112588..1184e94ad9 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -618,7 +618,7 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx)
if (mpctx->restart_complete && use_pause_on_low_cache) {
if (mpctx->paused && mpctx->paused_for_cache) {
- if (!s.underrun && (!opts->cache_pausing || s.idle ||
+ if (!s.underrun && (!opts->cache_pause || s.idle ||
s.ts_duration >= opts->cache_pause_wait))
{
mpctx->paused_for_cache = false;
@@ -627,7 +627,7 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx)
}
mp_set_timeout(mpctx, 0.2);
} else {
- if (opts->cache_pausing && s.underrun) {
+ if (opts->cache_pause && s.underrun) {
mpctx->paused_for_cache = true;
update_internal_pause_state(mpctx);
mpctx->cache_stop_time = now;