summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-09 17:57:10 +0200
committerwm4 <wm4@nowhere>2014-10-09 17:57:10 +0200
commit69673271e8dcb68377a15808fd4cb199b48cf4fa (patch)
tree4937a4e7dc3824f7707678b45d3aefeb7b0e02af /player
parent69fa956f5012f92186e123af37b5bbff8554bbdc (diff)
downloadmpv-69673271e8dcb68377a15808fd4cb199b48cf4fa.tar.bz2
mpv-69673271e8dcb68377a15808fd4cb199b48cf4fa.tar.xz
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).
Diffstat (limited to 'player')
-rw-r--r--player/playloop.c1
1 files changed, 0 insertions, 1 deletions
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);