add c++ call
[enigma2.git] / lib / python / Components / AVSwitch.py
index 739b6cd0740c9cd7519f0f5d7aaf7072e82cdee5..fea27a655f0bc32b38a94e1be7e27b085629d433 100644 (file)
@@ -1,13 +1,14 @@
 from config import *
 import os
+from enigma import *
 
 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)