add avswitch calls
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 01:40:05 +0000 (01:40 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 01:40:05 +0000 (01:40 +0000)
lib/python/Components/AVSwitch.py

index 938f88eaaf9e87626799224cb34882aa456a2b93..536bfc959f3534b67295a7543c282f9c4f2d56a0 100644 (file)
@@ -11,13 +11,16 @@ class AVSwitch:
                eAVSwitch.getInstance().setColorFormat(value)
                
        def setAspectRatio(self, value):
-               print "aspectratio:" + str(value)
+               #print "aspectratio:" + str(value)
+               eAVSwitch.getInstance().setAspectRatio(value)
 
        def setSystem(self, value):
                print "system:" + str(value)
+               eAVSwitch.getInstance().setVideomode(value)
 
        def setWSS(self, value):
-               print "wss:" + str(value)
+               #print "wss:" + str(value)
+               pass
 
 def InitAVSwitch():
        config.av = ConfigSubsection();