projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/bug_348_dvdburn_residenttask'
[vuplus_dvbapp]
/
lib
/
python
/
Plugins
/
SystemPlugins
/
Videomode
/
VideoWizard.py
diff --git
a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index
3759c21
..
512bcec
100644
(file)
--- a/
lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/
lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@
-84,7
+84,8
@@
class VideoWizard(WizardLanguage, Rc):
descr = port
if descr == 'DVI' and hw_type == 'dm500hd':
descr = 'HDMI'
descr = port
if descr == 'DVI' and hw_type == 'dm500hd':
descr = 'HDMI'
- list.append((descr,port))
+ if port != "DVI-PC":
+ list.append((descr,port))
list.sort(key = lambda x: x[0])
print "listInputChannels:", list
return list
list.sort(key = lambda x: x[0])
print "listInputChannels:", list
return list
@@
-130,8
+131,12
@@
class VideoWizard(WizardLanguage, Rc):
def modeSelect(self, mode):
ratesList = self.listRates(mode)
print "ratesList:", ratesList
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.rate = "multi"
+ 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
def listRates(self, querymode = None):
if querymode is None:
querymode = self.mode