git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset the colorformat after av input switch to workaround a bug in the avs driver
[enigma2.git]
/
lib
/
python
/
Components
/
AVSwitch.py
diff --git
a/lib/python/Components/AVSwitch.py
b/lib/python/Components/AVSwitch.py
index 22d24dfc9786b4c2dc81550d8440a92d2302c978..2c8c7db616559726ad7532da424a0d6687b8f648 100644
(file)
--- 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):
eAVSwitch.getInstance().setAspectRatio(value)
def setSystem(self, value):
- print "system:" + str(value)
eAVSwitch.getInstance().setVideomode(value)
def setWSS(self, 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])
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();
def InitAVSwitch():
config.av = ConfigSubsection();