aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-22 09:23:16 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-22 09:23:16 +0100
commit7b99a1af4abb7fdd77889feabe6bbd08d6c1d343 (patch)
tree405ccd9ab749ec53f3b723c2d65eb10a974c6d1f /lib/python/Components
parent60fc8afd61923e8bbf949d04b73491862390b65f (diff)
downloadenigma2-7b99a1af4abb7fdd77889feabe6bbd08d6c1d343.tar.gz
enigma2-7b99a1af4abb7fdd77889feabe6bbd08d6c1d343.zip
AVSwitch.py: fix getOutputAspect function
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/AVSwitch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index 00350cbb..1f529cfd 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -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