aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Frühberger <Peter.Fruehberger@gmail.com>2019-05-03 19:33:58 +0200
committerGitHub <noreply@github.com>2019-05-03 19:33:58 +0200
commitae31c4f4e201bb10f725e02a6b56642697a5437a (patch)
treee0df624db0a72023794c866501fe230ba3b3e01b
parentae89f28aa97654e5df021311d33295ab6090e56f (diff)
parent2c7d633bee5f14195800435efc2c874a40bcd0fb (diff)
Merge pull request #16052 from peak3d/resolution
Remove 3:2 pullback from current check
-rw-r--r--xbmc/windowing/Resolution.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/windowing/Resolution.cpp b/xbmc/windowing/Resolution.cpp
index 1921dd260e..19a2dde602 100644
--- a/xbmc/windowing/Resolution.cpp
+++ b/xbmc/windowing/Resolution.cpp
@@ -163,13 +163,12 @@ void CResolutionUtils::FindResolutionFromWhitelist(float fps, int width, int hei
}
}
- CLog::Log(LOGDEBUG, "No double refresh rate whitelisted resolution matched, trying current resolution");
+ CLog::Log(LOGDEBUG, "No 3:2 pullback refresh rate whitelisted resolution matched, trying current resolution");
if (width <= curr.iScreenWidth
&& height <= curr.iScreenHeight
&& (MathUtils::FloatEquals(curr.fRefreshRate, fps, 0.01f)
- || MathUtils::FloatEquals(curr.fRefreshRate, fps * 2, 0.01f)
- || MathUtils::FloatEquals(curr.fRefreshRate, fps * 2.5f, 0.01f)))
+ || MathUtils::FloatEquals(curr.fRefreshRate, fps * 2, 0.01f)))
{
CLog::Log(LOGDEBUG, "Matched current Resolution %s (%d)", curr.strMode.c_str(), resolution);
return;