From c2b61876c4e880f4f95413debb74b5435241f2d1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Jul 2015 18:07:39 +0200 Subject: video: don't force video refresh if video is restarting --- player/video.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'player') diff --git a/player/video.c b/player/video.c index ccdac3b042..6de89fc31e 100644 --- a/player/video.c +++ b/player/video.c @@ -333,7 +333,9 @@ void mp_force_video_refresh(struct MPContext *mpctx) return; // If not paused, the next frame should come soon enough. - if (opts->pause && mpctx->last_vo_pts != MP_NOPTS_VALUE) { + if (opts->pause && mpctx->video_status == STATUS_PLAYING && + mpctx->last_vo_pts != MP_NOPTS_VALUE) + { queue_seek(mpctx, MPSEEK_ABSOLUTE, mpctx->last_vo_pts, MPSEEK_VERY_EXACT, true); } -- cgit v1.2.3