diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-05-02 14:31:47 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-05-02 14:31:47 +0000 |
| commit | 9ebda6e28dcc96d34b6c5c63d94883adc7ef2dd3 (patch) | |
| tree | 807324474a4fa8ed906d1be4b52899b9c3c051a3 /lib/python/Plugins/SystemPlugins/Videomode | |
| parent | 327ae996e0a3a685dff1663f600493e103adb098 (diff) | |
| download | enigma2-9ebda6e28dcc96d34b6c5c63d94883adc7ef2dd3.tar.gz enigma2-9ebda6e28dcc96d34b6c5c63d94883adc7ef2dd3.zip | |
Don't set fastblank to high if the currently selected port (vs. the to-be-selected port) is non-scart
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index d20bc630..c90f8fd8 100644 --- 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.current_mode = None + self.current_port = None self.readAvailableModes() @@ -133,6 +135,7 @@ class VideoHardware: 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) @@ -307,7 +310,7 @@ class VideoHardware: 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" |
