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 a033ebafb82cd74c3fc601ebf5a3b681c213b3a2..9e5051c94a468360b7a9b4aa8a9fa866913c16af 100644 (file)
@@ -30,6 +30,10 @@ 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" } }
@@ -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"])