Skip to content

Commit

Permalink
vo: increase display refresh rate estimation limit from 99 Hz to 400 Hz
Browse files Browse the repository at this point in the history
High refresh rate displays exists...
  • Loading branch information
kasper93 committed Sep 18, 2023
1 parent 1d2cb22 commit 1b72f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video/out/vo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b72f80

Please sign in to comment.