diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-12-30 11:13:26 +0100 |
|---|---|---|
| committer | thedoc <thedoc@atom.(none)> | 2010-01-01 15:38:40 +0100 |
| commit | f9307b54c180f2844bdf6ffc7010e37beb1f02bb (patch) | |
| tree | 278f0d8ab25542a6572eeb29a811b4f34b1a87c8 /lib/python/Plugins/SystemPlugins | |
| parent | 4fc0831f4a2cd3fc3782f8b946d0bf9274441602 (diff) | |
| download | enigma2-f9307b54c180f2844bdf6ffc7010e37beb1f02bb.tar.gz enigma2-f9307b54c180f2844bdf6ffc7010e37beb1f02bb.zip | |
no more ask for 50hz in videowizzard when 720p/1080i is selected.. and now multi is used as default for 720p and 1080i
this fixes bug #262
Diffstat (limited to 'lib/python/Plugins/SystemPlugins')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 7 | ||||
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index cd1529aa..49b5d53d 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -131,8 +131,11 @@ class VideoWizard(WizardLanguage, Rc): def modeSelect(self, mode): ratesList = self.listRates(mode) print "ratesList:", ratesList - self.hw.setMode(port = self.port, mode = mode, rate = ratesList[0][0]) - + if self.port == "DVI" and mode in ("720p", "1080i"): + self.hw.setMode(port = self.port, mode = mode, rate = "multi") + else: + self.hw.setMode(port = self.port, mode = mode, rate = ratesList[0][0]) + def listRates(self, querymode = None): if querymode is None: querymode = self.mode diff --git a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml index 29ac4297..5dea661d 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml +++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml @@ -20,7 +20,7 @@ self.selectKey("DOWN") self["portpic"].hide() </code> </step> - <step id="rateselection" nextstep="dvirateintroduction" timeout="20" timeoutaction="selectnext"> + <step id="rateselection" nextstep="end" timeout="20" timeoutaction="selectnext"> <condition> self.condition = (self.port != "DVI" or self.mode == "PC") </condition> @@ -33,7 +33,7 @@ self.selectKey("UP") self.selectKey("DOWN") </code> </step> - <step id="dvirateintroduction" nextstep="dvirateselection"> + <!--step id="dvirateintroduction" nextstep="dvirateselection"> <condition> self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) </condition> @@ -89,7 +89,7 @@ self.selectKey("UP") self.selectKey("DOWN") self.rateSelect("50Hz") </code> - </step> + </step--> <step id="end"> <code> self.hw.saveMode(self.port, self.mode, self.rate) |
