add c++ call
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 2 Sep 2005 21:38:19 +0000 (21:38 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 2 Sep 2005 21:38:19 +0000 (21:38 +0000)
lib/python/Components/AVSwitch.py

index 739b6cd..fea27a6 100644 (file)
@@ -1,13 +1,14 @@
 from config import *
 import os
 from config import *
 import os
+from enigma import *
 
 class AVSwitch:
        def __init__(self):
                pass
 
        def setColorFormat(self, value):
 
 class AVSwitch:
        def __init__(self):
                pass
 
        def setColorFormat(self, value):
-               print "colorformat:" + str(value)
-               os.system("scart " + str(value))
+               #print "colorformat:" + str(value)
+               eAVSwitch.getInstance().setColorFormat(value)
                
        def setAspectRatio(self, value):
                print "aspectratio:" + str(value)
                
        def setAspectRatio(self, value):
                print "aspectratio:" + str(value)