diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-08 01:09:01 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-08 01:09:01 +0000 |
| commit | f70fe619f352c00df9ab2bfa345164e0ca196b6b (patch) | |
| tree | 70d578f5fa73799d93f4d74950385c1101537d0b /lib/python/Components/AVSwitch.py | |
| parent | f6fc97e1d61e3701f3cde099979da716c3afa28d (diff) | |
| download | enigma2-f70fe619f352c00df9ab2bfa345164e0ca196b6b.tar.gz enigma2-f70fe619f352c00df9ab2bfa345164e0ca196b6b.zip | |
fix slowblank
Diffstat (limited to 'lib/python/Components/AVSwitch.py')
| -rw-r--r-- | lib/python/Components/AVSwitch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index b36dc4a2..d98f411f 100644 --- a/lib/python/Components/AVSwitch.py +++ b/lib/python/Components/AVSwitch.py @@ -3,7 +3,7 @@ import os from enigma import * class AVSwitch: - INPUT = { "ENCODER": 0, "SCART": 1, "AUX": 2 } + INPUT = { "ENCODER": (0, 1), "SCART": (1, 0), "AUX": (2, 1) } def __init__(self): pass @@ -38,7 +38,8 @@ class AVSwitch: self.checkWSS() def setInput(self, input): - eAVSwitch.getInstance().setInput(self.INPUT[input]) + eAVSwitch.getInstance().setInput(self.INPUT[input][0]) + eAVSwitch.getInstance().setSlowblank(self.INPUT[input][1]) # FIXME why do we have to reset the colorformat? bug in avs-driver? eAVSwitch.getInstance().setColorFormat(config.av.colorformat.value) |
