aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-12-13 16:30:28 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-12-13 16:30:28 +0000
commit75b5dff4878843dec6913364bc044ab25c3b78a2 (patch)
tree90e37a1674b56b11c4c837eab793804080308500 /lib/python/Components
parentb5b839edc91a6902966079ec0b0bb5026df9df57 (diff)
downloadenigma2-75b5dff4878843dec6913364bc044ab25c3b78a2.tar.gz
enigma2-75b5dff4878843dec6913364bc044ab25c3b78a2.zip
add possibility to select multimode instead of pal/ntsc for TVs with support
for both tv systems
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/AVSwitch.py4
1 files changed, 2 insertions, 2 deletions
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):