aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-05 16:27:18 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-05 16:27:18 +0000
commitfd2f20e9411cb4e6a4667d51908fb82aa6b1d502 (patch)
tree134f944166c7ffadcbc46bcd5932fb8eeb6882e7 /lib/python
parentbc8320e6bd588cb1a6b36eed2d91ce620f879c00 (diff)
downloadenigma2-fd2f20e9411cb4e6a4667d51908fb82aa6b1d502.tar.gz
enigma2-fd2f20e9411cb4e6a4667d51908fb82aa6b1d502.zip
disable WSS when 4:3 letterbox or 4:3 panscan is selected and "WSS on 4:3"
is disable
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/AVSwitch.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index ab17fd82..c712a60e 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -50,7 +50,10 @@ class AVSwitch:
if aspect is None:
aspect = self.getAspectRatioSetting()
if aspect == 0 or aspect == 1: # letterbox or panscan
- value = 3 # 4:3_full_format
+ if not config.av.wss.value:
+ value = 0 # wss off
+ else:
+ value = 3 # 4:3_full_format
elif aspect == 2: # 16:9
if not config.av.wss.value:
value = 2 # auto(4:3_off)