increase dvbapp PR.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-vuplus / enigma2 / enigma2 / enigma2_vuplus_1080p.patch
1 diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
2 index 6ecbfd4..d801f58 100644
3 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
4 +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
5 @@ -37,6 +37,10 @@ class VideoHardware:
6                                                                 "60Hz":         { 60: "1080i" },
7                                                                 "multi":        { 50: "1080i50", 60: "1080i" } }
8  
9 +       rates["1080p"] =                { "50Hz":               { 50: "1080p50" },
10 +                                                               "60Hz":         { 60: "1080p" },
11 +                                                               "multi":        { 50: "1080p50", 60: "1080p" } }
12 +
13         rates["PC"] = { 
14                 "1024x768": { 60: "1024x768" }, # not possible on DM7025
15                 "800x600" : { 60: "800x600" },  # also not possible
16 @@ -55,10 +59,10 @@ class VideoHardware:
17  
18         modes["Scart"] = ["PAL", "NTSC", "Multi"]
19         modes["YPbPr"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
20 -       modes["DVI"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
21 +       modes["DVI"] = ["720p", "1080i", "1080p", "576p", "480p", "576i", "480i"]
22         modes["DVI-PC"] = ["PC"]
23  
24 -       widescreen_modes = set(["720p", "1080i"])
25 +       widescreen_modes = set(["720p", "1080i", "1080p"])
26  
27         def getOutputAspect(self):
28                 ret = (16,9)