From: Andreas Monzner Date: Tue, 5 Feb 2008 16:27:18 +0000 (+0000) Subject: disable WSS when 4:3 letterbox or 4:3 panscan is selected and "WSS on 4:3" X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=fd2f20e9411cb4e6a4667d51908fb82aa6b1d502 disable WSS when 4:3 letterbox or 4:3 panscan is selected and "WSS on 4:3" is disable --- 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)