diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-09-16 05:14:20 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-29 20:48:58 +0000 |
commit | 7035debddf6054a9a7309385dffeb5ad1806f6d8 (patch) | |
tree | a333edd96ecfc51a11bc884adf3da583f815d942 /video/out/vo.c | |
parent | df764bc0c3926ff06902c2ed8609ed7633408550 (diff) | |
download | mpv-7035debddf6054a9a7309385dffeb5ad1806f6d8.tar.bz2 mpv-7035debddf6054a9a7309385dffeb5ad1806f6d8.tar.xz |
vo: increase display refresh rate estimation limit from 99 Hz to 400 Hz
High refresh rate displays exists...
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 a21c4e21de..2b70565041 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -438,7 +438,7 @@ static void check_estimated_display_fps(struct vo *vo) bool use_estimated = false; if (in->num_total_vsync_samples >= MAX_VSYNC_SAMPLES / 2 && in->estimated_vsync_interval <= 1e9 / 20.0 && - in->estimated_vsync_interval >= 1e9 / 99.0) + in->estimated_vsync_interval >= 1e9 / 400.0) { for (int n = 0; n < in->num_vsync_samples; n++) { if (fabs(in->vsync_samples[n] - in->estimated_vsync_interval) |