git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't set fastblank to high if the currently selected port (vs. the to-be-selected...
[enigma2.git]
/
lib
/
python
/
Plugins
/
SystemPlugins
/
Videomode
/
VideoHardware.py
diff --git
a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
index d20bc630979ce42c2f19ca74c6daf1a9983dba6d..c90f8fd8980a192b28cc25daf8eff4e621a9ffbf 100644
(file)
--- a/
lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+++ b/
lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
@@
-59,6
+59,8
@@
class VideoHardware:
self.last_modes_preferred = [ ]
self.on_hotplug = CList()
self.standby = False
self.last_modes_preferred = [ ]
self.on_hotplug = CList()
self.standby = False
+ self.current_mode = None
+ self.current_port = None
self.readAvailableModes()
self.readAvailableModes()
@@
-133,6
+135,7
@@
class VideoHardware:
print "setMode - port:", port, "mode:", mode, "rate:", rate
# we can ignore "port"
self.current_mode = mode
print "setMode - port:", port, "mode:", mode, "rate:", rate
# we can ignore "port"
self.current_mode = mode
+ self.current_port = port
modes = self.rates[mode][rate]
mode_50 = modes.get(50)
modes = self.rates[mode][rate]
mode_50 = modes.get(50)
@@
-307,7
+310,7
@@
class VideoHardware:
else:
fb = "low"
else:
else:
fb = "low"
else:
- if
config.av.videoport.value
== "Scart" and config.av.colorformat.value == "rgb":
+ if
self.current_port
== "Scart" and config.av.colorformat.value == "rgb":
fb = "high"
else:
fb = "low"
fb = "high"
else:
fb = "low"