summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchang <chang@dev3>2013-02-01 11:31:39 (GMT)
committerchang <chang@dev3>2013-02-01 11:31:39 (GMT)
commit8db309e4894e95833539442f2995443a7f1e376d (patch)
treedad860fb5b725643a0ab2345ec29aec20d36fcd7
parent38f345c805ffd15117df99b912ebb7ef4fe537af (diff)
Add patch to support 1080p.
-rw-r--r--meta-bsp/vusolo2/recipes/vuplus/enigma2.bbappend3
-rw-r--r--meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_1080p.patch28
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-bsp/vusolo2/recipes/vuplus/enigma2.bbappend b/meta-bsp/vusolo2/recipes/vuplus/enigma2.bbappend
new file mode 100644
index 0000000..12dc27f
--- /dev/null
+++ b/meta-bsp/vusolo2/recipes/vuplus/enigma2.bbappend
@@ -0,0 +1,3 @@
+PR .= "-bsp1"
+
+SRC_URI_append = " file://enigma2_vuplus_1080p.patch;patch=1;pnum=1"
diff --git a/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_1080p.patch b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_1080p.patch
new file mode 100644
index 0000000..bb8f5f2
--- /dev/null
+++ b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_1080p.patch
@@ -0,0 +1,28 @@
+diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+index 6ecbfd4..d801f58 100644
+--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
++++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+@@ -37,6 +37,10 @@ class VideoHardware:
+ "60Hz": { 60: "1080i" },
+ "multi": { 50: "1080i50", 60: "1080i" } }
+
++ rates["1080p"] = { "50Hz": { 50: "1080p50" },
++ "60Hz": { 60: "1080p" },
++ "multi": { 50: "1080p50", 60: "1080p" } }
++
+ rates["PC"] = {
+ "1024x768": { 60: "1024x768" }, # not possible on DM7025
+ "800x600" : { 60: "800x600" }, # also not possible
+@@ -55,10 +59,10 @@ class VideoHardware:
+
+ modes["Scart"] = ["PAL", "NTSC", "Multi"]
+ modes["YPbPr"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
+- modes["DVI"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
++ modes["DVI"] = ["720p", "1080i", "1080p", "576p", "480p", "576i", "480i"]
+ modes["DVI-PC"] = ["PC"]
+
+- widescreen_modes = set(["720p", "1080i"])
++ widescreen_modes = set(["720p", "1080i", "1080p"])
+
+ def getOutputAspect(self):
+ ret = (16,9)