AVSwitch.py: fix getOutputAspect function
[enigma2.git] / lib / python / Components / AVSwitch.py
index 00350cbb464fc88a978866d648b08db0f0c34fd3..1f529cfd86a95ee00e906f9fee433bdd3275816d 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