aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-06-02 10:19:50 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-06-02 10:19:50 +0000
commitb6b0a7d3c89c6f7fa4f6b64950b8963658f2baab (patch)
tree019686c597da54c434f0d4b9ef2b3b9e4b743404 /lib/python/Plugins
parent2358a00bf1af727de47cfd6d8710969748b27725 (diff)
downloadenigma2-b6b0a7d3c89c6f7fa4f6b64950b8963658f2baab.tar.gz
enigma2-b6b0a7d3c89c6f7fa4f6b64950b8963658f2baab.zip
revert non-working change
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index 4043f602..f46b11c2 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@ -103,9 +103,7 @@ class VideoWizard(WizardLanguage):
print "inputSelect:", port
modeList = self.hw.getModeList(self.selection)
print "modeList:", modeList
- self.port = port
- ratesList = self.listRates(modeList[0][0])
- self.hw.setMode(port = port, mode = modeList[0][0], rate = ratesList[0][0])
+ self.hw.setMode(port = port, mode = modeList[0][0], rate = modeList[0][1][0])
def listModes(self):
list = []
@@ -139,11 +137,6 @@ class VideoWizard(WizardLanguage):
print mode
if mode[0] == querymode:
for rate in mode[1]:
- if self.port == "DVI-PC":
- print "rate:", rate
- if rate == "640x480":
- list.insert(0, (rate, rate))
- continue
list.append((rate, rate))
return list
@@ -171,9 +164,9 @@ class VideoWizard(WizardLanguage):
def keyNumberGlobal(self, number):
if number in [1,2,3]:
if number == 1:
- self.hw.saveMode("DVI-TV", "720p", "multi")
+ self.hw.saveMode("DVI", "720p", "multi")
elif number == 2:
- self.hw.saveMode("DVI-TV", "1080i", "multi")
+ self.hw.saveMode("DVI", "1080i", "multi")
elif number == 3:
self.hw.saveMode("Scart", "Multi", "multi")
self.hw.setConfiguredMode()