diff options
author | wm4 <wm4@nowhere> | 2018-01-03 21:50:04 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-03 15:43:51 -0800 |
commit | e894f75bb570e20966d64607aa69d64ba9022bd8 (patch) | |
tree | 26f84a5540e6e3eae0cbc1ee817aa74a23bd87f1 /player | |
parent | f798bc3c2542b4c3e7b4cb1483d41ce309b4fb51 (diff) | |
download | mpv-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.c | 4 |
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; |