mirror of https://github.com/mpv-player/mpv
vo: fix display-sync frame drop accounting again
Commit acd5816a
fixed this, except when vo_opengl interpolation was
active. (And again, the old interpolation code path should be removed.)
This commit is contained in:
parent
4e358a9636
commit
4058b418bf
|
@ -618,7 +618,7 @@ static bool render_frame(struct vo *vo)
|
||||||
in->current_frame = in->frame_queued;
|
in->current_frame = in->frame_queued;
|
||||||
in->frame_queued = NULL;
|
in->frame_queued = NULL;
|
||||||
} else if (in->paused || !in->current_frame || !in->hasframe ||
|
} else if (in->paused || !in->current_frame || !in->hasframe ||
|
||||||
(!in->vsync_timed && in->current_frame->num_vsyncs < 1) ||
|
(in->current_frame->display_synced && in->current_frame->num_vsyncs < 1) ||
|
||||||
(!in->vsync_timed && !in->current_frame->display_synced))
|
(!in->vsync_timed && !in->current_frame->display_synced))
|
||||||
{
|
{
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in New Issue