-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3489 from MilhouseVH/le90_k18.2-refresh-fix
kodi: fix 24fp refresh rate switching
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
packages/mediacenter/kodi/patches/kodi-999.99-PR16055.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 36e78e1bd8d0f43ccace8e8ce03a4b73ab63a4c9 Mon Sep 17 00:00:00 2001 | ||
From: peak3d <pfau@peak3d.de> | ||
Date: Fri, 3 May 2019 11:32:13 +0200 | ||
Subject: [PATCH] Remove 3:2 pullback from current check | ||
|
||
--- | ||
xbmc/windowing/Resolution.cpp | 5 ++--- | ||
1 file changed, 2 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/xbmc/windowing/Resolution.cpp b/xbmc/windowing/Resolution.cpp | ||
index 1921dd260e1c..19a2dde602e9 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; |