summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-21 15:26:47 +0100
committerwm4 <wm4@nowhere>2017-02-21 15:39:44 +0100
commitaeddc499d84e0cc87e6f500dce99b8588ecc959a (patch)
tree778dc4fbb942c074dc836308d6c6feec4b23be7d /player
parent13d2eb8eb9c54021fb6ee4ff4a5292e75539ab8a (diff)
downloadmpv-aeddc499d84e0cc87e6f500dce99b8588ecc959a.tar.bz2
mpv-aeddc499d84e0cc87e6f500dce99b8588ecc959a.tar.xz
player: don't block playback stop when seeking
This was added for A-B loops, but it looks like commit a1dec6f5 made this code unnecessary. Remove it, because it has the annoying side-effect of blocking playback stop when seeking past the end.
Diffstat (limited to 'player')
-rw-r--r--player/playloop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 742f31d3b2..d4a178b9f2 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -1109,9 +1109,6 @@ void run_playloop(struct MPContext *mpctx)
handle_sstep(mpctx);
- if (mpctx->stop_play == AT_END_OF_FILE && mpctx->seek.type)
- mpctx->stop_play = KEEP_PLAYING;
-
if (mpctx->stop_play)
return;