AVSwitch.py: fix getOutputAspect function
authorghost <andreas.monzner@multimedia-labs.de>
Sat, 22 Nov 2008 08:23:16 +0000 (09:23 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Sat, 22 Nov 2008 08:23:16 +0000 (09:23 +0100)
lib/python/Components/AVSwitch.py

index 00350cb..1f529cf 100644 (file)
@@ -29,6 +29,7 @@ class AVSwitch:
                eAVSwitch.getInstance().setVideomode(value)
 
        def getOutputAspect(self):
+               valstr = config.av.aspectratio.value
                if valstr in ("4_3_letterbox", "4_3_panscan"): # 4:3
                        return (4,3)
                elif valstr == "16_9": # auto ... 4:3 or 16:9