mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
vo: increase display refresh rate estimation limit from 99 Hz to 400 Hz
High refresh rate displays exists...
This commit is contained in:
parent
df764bc0c3
commit
7035debddf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user