From: chang Date: Fri, 1 Feb 2013 11:31:39 +0000 (+0900) Subject: Add patch to support 1080p. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus;a=commitdiff_plain;h=8db309e4894e95833539442f2995443a7f1e376d Add patch to support 1080p. --- 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)