mirror of https://github.com/mpv-player/mpv
video: don't force video refresh if video is restarting
This commit is contained in:
parent
59b64ceb79
commit
c2b61876c4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue