diff options
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 b6dbd7e32a..bf1ba114fd 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -507,7 +507,7 @@ static void update_vsync_timing_after_swap(struct vo *vo, } in->num_successive_vsyncs++; - if (in->num_successive_vsyncs <= 2) + if (in->num_successive_vsyncs <= vo->opts->swapchain_depth) return; if (vsync_time <= 0 || vsync_time <= prev_vsync) { |