diff options
author | wm4 <wm4@nowhere> | 2015-11-03 13:33:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-03 13:33:38 +0100 |
commit | 4058b418bf3618c5d9b01e08e31774ae115d2365 (patch) | |
tree | 12ab14173216793fac872a946cbba3b1944f3173 /video | |
parent | 4e358a963604af8746a059d7388cb202be0f919d (diff) |
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.)
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |