diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/playloop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c index c0db53f294..91badf0647 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -947,8 +947,11 @@ static void handle_keep_open(struct MPContext *mpctx) { mpctx->stop_play = KEEP_PLAYING; if (mpctx->vo_chain) { - if (!vo_has_frame(mpctx->video_out)) // EOF not reached normally + if (!vo_has_frame(mpctx->video_out)) { // EOF not reached normally seek_to_last_frame(mpctx); + mpctx->audio_status = STATUS_EOF; + mpctx->video_status = STATUS_EOF; + } } if (opts->keep_open_pause) { if (mpctx->ao && ao_is_playing(mpctx->ao)) |