From 921b91f314f96d4c13799e51f591527016df09e4 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 4 Jun 2008 10:05:33 +0000 Subject: [PATCH 1/1] add support for 480i and 576i... but keep in mind that not all TVs can handle 480i or 576i --- .../Plugins/SystemPlugins/Videomode/VideoHardware.py | 8 ++++++-- 1 file 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"]) -- 2.30.2