mirror of https://github.com/mpv-player/mpv
w32_common: add more rounded-down frame rates
Suggested by avih. This handles x/1.001 frame rates for all multiples of 24 and 30 under 144.
This commit is contained in:
parent
138c4e50df
commit
ad11d877a5
|
@ -589,9 +589,13 @@ static double vo_w32_get_display_fps(struct vo_w32_state *w32)
|
|||
switch (dm.dmDisplayFrequency) {
|
||||
case 23:
|
||||
case 29:
|
||||
case 47:
|
||||
case 59:
|
||||
case 71:
|
||||
case 89:
|
||||
case 95:
|
||||
case 119:
|
||||
case 143:
|
||||
rv = (rv + 1) / 1.001;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue