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:
wm4 2015-11-03 13:33:38 +01:00
parent 4e358a9636
commit 4058b418bf
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ static bool render_frame(struct vo *vo)
in->current_frame = in->frame_queued;
in->frame_queued = NULL;
} 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))
{
goto done;