From: Stefan Pluecken Date: Tue, 3 Jan 2006 11:29:26 +0000 (+0000) Subject: reset the colorformat after av input switch to workaround a bug in the avs driver X-Git-Tag: 2.6.0~4536 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d25cc68147eac7b8e7628a9abdffe55a758612a3?hp=089df6a2a17ec560a9c525857b4bbe43442b5ca8 reset the colorformat after av input switch to workaround a bug in the avs driver --- 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();