Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[package] [mediacenter-osmc] Vero 2: add support for 800p and 1200p t…
…o Kodi Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
- Loading branch information
1 parent
78993f6
commit 6fb6f6e
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Origin: OSMC | ||
Version: 16.1.0-13 | ||
Version: 16.1.0-14 | ||
Section: video | ||
Essential: No | ||
Priority: required | ||
|
42 changes: 42 additions & 0 deletions
42
package/mediacenter-osmc/patches/vero2-050-add-support-for-800p-and-1200p.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,42 @@ | ||
From 5e95cf60793494cd7648597d58bfae60a3985490 Mon Sep 17 00:00:00 2001 | ||
From: Sam Nazarko <email@samnazarko.co.uk> | ||
Date: Wed, 27 Jul 2016 18:17:32 +0100 | ||
Subject: [PATCH] Add support for 800p and 1200p modes | ||
|
||
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk> | ||
--- | ||
xbmc/utils/AMLUtils.cpp | 18 ++++++++++++++++++ | ||
1 file changed, 18 insertions(+) | ||
|
||
diff --git a/xbmc/utils/AMLUtils.cpp b/xbmc/utils/AMLUtils.cpp | ||
index f8b3381..250b5db 100644 | ||
--- a/xbmc/utils/AMLUtils.cpp | ||
+++ b/xbmc/utils/AMLUtils.cpp | ||
@@ -616,6 +616,24 @@ bool aml_mode_to_resolution(const char *mode, RESOLUTION_INFO *res) | ||
res->fRefreshRate = 60; | ||
res->dwFlags = D3DPRESENTFLAG_PROGRESSIVE; | ||
} | ||
+ else if (StringUtils::EqualsNoCase(fromMode, "800p")) | ||
+ { | ||
+ res->iWidth = 800; | ||
+ res->iHeight= 1200; | ||
+ res->iScreenWidth = 1600; | ||
+ res->iScreenHeight= 2560; | ||
+ res->fRefreshRate = 60; | ||
+ res->dwFlags = D3DPRESENTFLAG_PROGRESSIVE; | ||
+ } | ||
+ else if (StringUtils::EqualsNoCase(fromMode, "1200p")) | ||
+ { | ||
+ res->iWidth = 1200; | ||
+ res->iHeight= 1920; | ||
+ res->iScreenWidth = 2400; | ||
+ res->iScreenHeight= 3840; | ||
+ res->fRefreshRate = 60; | ||
+ res->dwFlags = D3DPRESENTFLAG_PROGRESSIVE; | ||
+ } | ||
else | ||
{ | ||
return false; | ||
-- | ||
2.7.4 | ||
|