From fd2f20e9411cb4e6a4667d51908fb82aa6b1d502 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 5 Feb 2008 16:27:18 +0000 Subject: [PATCH] disable WSS when 4:3 letterbox or 4:3 panscan is selected and "WSS on 4:3" is disable --- lib/python/Components/AVSwitch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index ab17fd8..c712a60 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) -- 2.7.4