diff options
author | wm4 <wm4@nowhere> | 2015-07-10 18:07:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-10 18:07:39 +0200 |
commit | c2b61876c4e880f4f95413debb74b5435241f2d1 (patch) | |
tree | a071f7d7ed7c4536a44baef5e01d0c25818d2c8b /player | |
parent | 59b64ceb7934b8c70c662a939364c41a3b0ad1fe (diff) | |
download | mpv-c2b61876c4e880f4f95413debb74b5435241f2d1.tar.bz2 mpv-c2b61876c4e880f4f95413debb74b5435241f2d1.tar.xz |
video: don't force video refresh if video is restarting
Diffstat (limited to 'player')
-rw-r--r-- | player/video.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |