aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfritsch <Peter.Fruehberger@gmail.com>2016-10-02 18:03:02 +0200
committerfritsch <Peter.Fruehberger@gmail.com>2016-10-02 18:03:02 +0200
commit84ec39551dc7661970654582088da4698dbcb5bc (patch)
tree44cd8cf7c849fd9ab5360d03850b1b7bbb555f12
parent74e9e0ff33d5c6e2c13e4f12d2b221bcd0feb048 (diff)
Resolution: Don't let code assumption from before 2k break behaviour
-rw-r--r--xbmc/guilib/Resolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/Resolution.cpp b/xbmc/guilib/Resolution.cpp
index 7d43dc8e1c..b86110cfe5 100644
--- a/xbmc/guilib/Resolution.cpp
+++ b/xbmc/guilib/Resolution.cpp
@@ -317,7 +317,7 @@ float CResolutionUtils::RefreshWeight(float refresh, float fps)
// punish when refreshrate > 60 hz to not have to switch
// twice for 30i content
if (refresh > 60 && round > 1)
- weight += round / 1000.0;
+ weight += round / 10000.0;
return weight;
}