summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/player/video.c b/player/video.c
index 96e08ae815..0dca3a597f 100644
--- a/player/video.c
+++ b/player/video.c
@@ -551,13 +551,10 @@ void mp_force_video_refresh(struct MPContext *mpctx)
return;
// If not paused, the next frame should come soon enough.
- if ((opts->pause || mpctx->time_frame >= 0.5) &&
- (mpctx->video_status >= STATUS_PLAYING ||
- mpctx->video_status <= STATUS_DRAINING) &&
- mpctx->last_vo_pts != MP_NOPTS_VALUE)
+ if (opts->pause || mpctx->time_frame >= 0.5 ||
+ mpctx->video_status == STATUS_EOF)
{
- queue_seek(mpctx, MPSEEK_ABSOLUTE, mpctx->last_vo_pts,
- MPSEEK_VERY_EXACT, 0);
+ issue_refresh_seek(mpctx, MPSEEK_VERY_EXACT);
}
}