summaryrefslogtreecommitdiffstats
path: root/video/out/w32_common.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2015-03-21 16:47:59 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2015-04-25 02:11:00 +1000
commitad11d877a524101272da4aa6680010b124c2f130 (patch)
tree9feca457c98363750a84063c588aa9d0c28747f2 /video/out/w32_common.c
parent138c4e50dfde8999cda98bd0238ade58647a3285 (diff)
downloadmpv-ad11d877a524101272da4aa6680010b124c2f130.tar.bz2
mpv-ad11d877a524101272da4aa6680010b124c2f130.tar.xz
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.
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r--video/out/w32_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c
index f70da4fd6e..075bda586e 100644
--- a/video/out/w32_common.c
+++ b/video/out/w32_common.c
@@ -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;
}