aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 11:29:26 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 11:29:26 +0000
commitd25cc68147eac7b8e7628a9abdffe55a758612a3 (patch)
treec2b850b20109fa67fbb4fa5c2ada656ec4d56049 /lib/python
parent089df6a2a17ec560a9c525857b4bbe43442b5ca8 (diff)
downloadenigma2-d25cc68147eac7b8e7628a9abdffe55a758612a3.tar.gz
enigma2-d25cc68147eac7b8e7628a9abdffe55a758612a3.zip
reset the colorformat after av input switch to workaround a bug in the avs driver
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/AVSwitch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index 22d24dfc..2c8c7db6 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -14,7 +14,6 @@ class AVSwitch:
eAVSwitch.getInstance().setAspectRatio(value)
def setSystem(self, value):
- print "system:" + str(value)
eAVSwitch.getInstance().setVideomode(value)
def setWSS(self, value):
@@ -23,6 +22,8 @@ class AVSwitch:
def setInput(self, input):
eAVSwitch.getInstance().setInput(self.INPUT[input])
+ # FIXME why do we have to reset the colorformat? bug in avs-driver?
+ eAVSwitch.getInstance().setColorFormat(config.av.colorformat.value)
def InitAVSwitch():
config.av = ConfigSubsection();