add support for 480i and 576i... but keep in mind that not all TVs can
[enigma2.git] / lib / python / Plugins / SystemPlugins / Videomode / VideoHardware.py
index d3389a75c0e386923637f2145ebb595bcdc0ba76..9e5051c94a468360b7a9b4aa8a9fa866913c16af 100644 (file)
@@ -30,13 +30,17 @@ class VideoHardware:
 
        rates["Multi"] =                { "multi":      { 50: "pal", 60: "ntsc" } }
 
+       rates["480i"] =                 { "60Hz":       { 60: "480i" } }
+
+       rates["576i"] =                 { "50Hz":       { 50: "576i" } }
+
        rates["480p"] =                 { "60Hz":       { 60: "480p" } }
 
        rates["576p"] =                 { "50Hz":       { 50: "576p" } }
 
-       rates["720p"] =                 { "50Hz":       { 50: "720p50", 60: "720p50" },
+       rates["720p"] =                 { "50Hz":       { 50: "720p50" },
                                                                "60Hz":         { 60: "720p" },
-                                                               "multi":        { 50: "720p50" } }
+                                                               "multi":        { 50: "720p50", 60: "720p" } }
 
        rates["1080i"] =                { "50Hz":               { 50: "1080i50" },
                                                                "60Hz":         { 60: "1080i" },
@@ -59,8 +63,8 @@ class VideoHardware:
        }
 
        modes["Scart"] = ["PAL", "NTSC", "Multi"]
-       modes["YPbPr"] = ["720p", "1080i", "576p", "480p"]
-       modes["DVI"] = ["720p", "1080i", "576p", "480p"]
+       modes["YPbPr"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
+       modes["DVI"] = ["720p", "1080i", "576p", "480p", "576i", "480i"]
        modes["DVI-PC"] = ["PC"]
 
        widescreen_modes = set(["720p", "1080i"])