disable WSS when 4:3 letterbox or 4:3 panscan is selected and "WSS on 4:3"
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 5 Feb 2008 16:27:18 +0000 (16:27 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 5 Feb 2008 16:27:18 +0000 (16:27 +0000)
is disable

lib/python/Components/AVSwitch.py

index ab17fd8..c712a60 100644 (file)
@@ -50,7 +50,10 @@ class AVSwitch:
                if aspect is None:
                        aspect = self.getAspectRatioSetting()
                if aspect == 0 or aspect == 1: # letterbox or panscan
                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)
                elif aspect == 2: # 16:9
                        if not config.av.wss.value:
                                value = 2 # auto(4:3_off)