From b4c247117470e8ccf3bf64b4e13e4c9db85572b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 27 Sep 2025 19:20:43 +0200 Subject: [PATCH] options: reduce swapchain-depth to 2 by default It's enough to not wait for the flip and start with next frame and in the same time minimized latency which helps display-sync modes, that are not aware about swapchain depth. --- DOCS/man/options.rst | 2 +- options/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 5ba0f6776a..4da82585c4 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1998,7 +1998,7 @@ Video missed vsyncs, but increases visible latency. This option only mandates an upper limit, the implementation can use a lower latency than requested internally. A setting of 1 means that the VO will wait for every frame to - become visible before starting to render the next frame. (Default: 3) + become visible before starting to render the next frame. (Default: 2) Audio ----- diff --git a/options/options.c b/options/options.c index 4b2da0c13b..8387fac9e5 100644 --- a/options/options.c +++ b/options/options.c @@ -287,7 +287,7 @@ const struct m_sub_options vo_sub_opts = { .mmcss_profile = "Playback", .ontop_level = -1, .timing_offset = 0.050, - .swapchain_depth = 3, + .swapchain_depth = 2, .focus_on = 1, }, };