From aeddc499d84e0cc87e6f500dce99b8588ecc959a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 21 Feb 2017 15:26:47 +0100 Subject: 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. --- player/playloop.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'player') 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; -- cgit v1.2.3