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:
James Ross-Gowan 2015-03-21 16:47:59 +11:00
parent 138c4e50df
commit ad11d877a5
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}