mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user