fix inverted setting (meaning was inverted too)
[enigma2.git] / lib / python / Components / AVSwitch.py
index d74ad258c7bae4f771259e694bc6bcccd95818c2..b36dc4a282706e78c67100a081daf45a733b5748 100644 (file)
@@ -55,18 +55,18 @@ def InitAVSwitch():
        iAVSwitch = AVSwitch()
 
        def setColorFormat(configElement):
-               iAVSwitch.setColorFormat(configElement.value);
+               iAVSwitch.setColorFormat(configElement.value)
        def setAspectRatio(configElement):
-               iAVSwitch.setAspectRatio(configElement.value);
+               iAVSwitch.setAspectRatio(configElement.value)
        def setSystem(configElement):
-               iAVSwitch.setSystem(configElement.value);
+               iAVSwitch.setSystem(configElement.value)
        def setWSS(configElement):
-               iAVSwitch.setWSS(configElement.value);
+               iAVSwitch.setWSS(configElement.value)
 
        # this will call the "setup-val" initial
-       config.av.colorformat.addNotifier(setColorFormat);
-       config.av.aspectratio.addNotifier(setAspectRatio);
-       config.av.tvsystem.addNotifier(setSystem);
-       config.av.wss.addNotifier(setWSS);
+       config.av.colorformat.addNotifier(setColorFormat)
+       config.av.aspectratio.addNotifier(setAspectRatio)
+       config.av.tvsystem.addNotifier(setSystem)
+       config.av.wss.addNotifier(setWSS)
        
        iAVSwitch.setInput("ENCODER") # init on startup
\ No newline at end of file