mirror of
https://github.com/mpv-player/mpv
synced 2024-10-26 07:22:17 +02:00
player: refresh very low framerate video on filter changes
Limit the max. time the refresh is delayed. Make it refresh at all if image mode is enabled. Fixes #3435.
This commit is contained in:
parent
4e3663a2da
commit
5d2dfbdfca
@ -539,7 +539,9 @@ void mp_force_video_refresh(struct MPContext *mpctx)
|
||||
return;
|
||||
|
||||
// If not paused, the next frame should come soon enough.
|
||||
if (opts->pause && mpctx->video_status == STATUS_PLAYING &&
|
||||
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)
|
||||
{
|
||||
queue_seek(mpctx, MPSEEK_ABSOLUTE, mpctx->last_vo_pts,
|
||||
|
Loading…
Reference in New Issue
Block a user