video: don't force video refresh if video is restarting

This commit is contained in:
wm4 2015-07-10 18:07:39 +02:00
parent 59b64ceb79
commit c2b61876c4
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}