From 69673271e8dcb68377a15808fd4cb199b48cf4fa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Oct 2014 17:57:10 +0200 Subject: player: don't reset buffering pausing state on seeks This was added with commit 3cbd79b3, but it turns out this unintentionally enables "real" pausing when seeking while buffering. It was done for ensuring correct state of the "cache-buffering-state" property, but it also turns out that this was unneeded (another variable that is reset when seeking happens to take care of this). --- player/playloop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/player/playloop.c b/player/playloop.c index b90c1a5a41..ea1a0e26be 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -155,7 +155,6 @@ void reset_playback_state(struct MPContext *mpctx) mpctx->last_seek_pts = MP_NOPTS_VALUE; mpctx->cache_wait_time = 0; mpctx->restart_complete = false; - mpctx->paused_for_cache = false; #if HAVE_ENCODING encode_lavc_discontinuity(mpctx->encode_lavc_ctx); -- cgit v1.2.3