diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-08 18:31:28 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-23 00:10:49 +0000 |
commit | 8c7c8782557ffb5148de4080d2b3fd3bfc9db0f2 (patch) | |
tree | 97d474b54fa3e081ae222659fcc5745d8fe7dd4e /video/out/vo.c | |
parent | f27767f59e2dd459b909b00187b27f3c6fb72a20 (diff) | |
download | mpv-8c7c8782557ffb5148de4080d2b3fd3bfc9db0f2.tar.bz2 mpv-8c7c8782557ffb5148de4080d2b3fd3bfc9db0f2.tar.xz |
vo: average more vsync samples
Improves averaging on high refresh rate displays.
Diffstat (limited to 'video/out/vo.c')
-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 445a6c3a0c..9d403e12c7 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -425,7 +425,7 @@ static double vsync_stddef(struct vo *vo, double ref_vsync) return sqrt(jitter / in->num_vsync_samples); } -#define MAX_VSYNC_SAMPLES 200 +#define MAX_VSYNC_SAMPLES 1000 // Check if we should switch to measured average display FPS if it seems // "better" then the system-reported one. (Note that small differences are |