diff --git a/player/playloop.c b/player/playloop.c index 4ae1864cb9..86738e4ed0 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -1170,6 +1170,9 @@ static void handle_playback_restart(struct MPContext *mpctx) static void handle_eof(struct MPContext *mpctx) { + if (mpctx->seek.type) + return; + /* Don't quit while paused and we're displaying the last video frame. On the * other hand, if we don't have a video frame, then the user probably seeked * outside of the video, and we do want to quit. */