From 4058b418bf3618c5d9b01e08e31774ae115d2365 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Nov 2015 13:33:38 +0100 Subject: 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.) --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index 1ab0b91ef6..f1dfbd9441 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -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; -- cgit v1.2.3