diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c index e251b32f31..fc3259de01 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -766,7 +766,8 @@ static void handle_keep_open(struct MPContext *mpctx) struct MPOpts *opts = mpctx->opts; if (opts->keep_open && mpctx->stop_play == AT_END_OF_FILE) { mpctx->stop_play = KEEP_PLAYING; - mpctx->playback_pts = mpctx->last_vo_pts; + if (mpctx->d_video) + mpctx->playback_pts = mpctx->last_vo_pts; if (!mpctx->opts->pause) pause_player(mpctx); } |