From d25cc68147eac7b8e7628a9abdffe55a758612a3 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 3 Jan 2006 11:29:26 +0000 Subject: [PATCH 1/1] reset the colorformat after av input switch to workaround a bug in the avs driver --- lib/python/Components/AVSwitch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.30.2