aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-06-04 10:05:33 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-06-04 10:05:33 +0000
commit921b91f314f96d4c13799e51f591527016df09e4 (patch)
treea0dd056fa7a2dea8e7763807af4aac445467e786 /lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
parentea75ae7d178ee66346a2366c2ca98d4cb24bead5 (diff)
downloadenigma2-921b91f314f96d4c13799e51f591527016df09e4.tar.gz
enigma2-921b91f314f96d4c13799e51f591527016df09e4.zip
add support for 480i and 576i... but keep in mind that not all TVs can
handle 480i or 576i
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
index a033ebaf..9e5051c9 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
@@ -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"])