From 75b5dff4878843dec6913364bc044ab25c3b78a2 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 13 Dec 2006 16:30:28 +0000 Subject: add possibility to select multimode instead of pal/ntsc for TVs with support for both tv systems --- lib/python/Components/AVSwitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/AVSwitch.py') diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index 33045d40..8a7bd8d1 100644 --- a/lib/python/Components/AVSwitch.py +++ b/lib/python/Components/AVSwitch.py @@ -89,7 +89,7 @@ def InitAVSwitch(): "16_10_letterbox": _("16:10 Letterbox"), "16_10_panscan": _("16:10 PanScan")}, default = "4_3_letterbox") - config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC")}, default="pal") + config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC"), "multinorm": _("multinorm")}, default="pal") config.av.wss = ConfigEnableDisable(default = True) config.av.defaultac3 = ConfigYesNo(default = False) config.av.vcrswitch = ConfigEnableDisable(default = False) @@ -105,7 +105,7 @@ def InitAVSwitch(): iAVSwitch.setAspectRatio(map[configElement.value]) def setSystem(configElement): - map = {"pal": 0, "ntsc": 1} + map = {"pal": 0, "ntsc": 1, "multinorm" : 2} iAVSwitch.setSystem(map[configElement.value]) def setWSS(configElement): -- cgit v1.2.3