also show SNR in dB in PositionerSetup
[enigma2.git] / lib / python / Plugins / SystemPlugins / Videomode / plugin.py
index eb58568e0563b9ea8bcd6cc8475e413dc1e544fe..ab7aad727fd547e18a618bb1de65281eba324709 100644 (file)
@@ -95,6 +95,9 @@ class VideoSetup(Screen, ConfigListScreen):
                        if SystemInfo["CanDownmixAC3"]:
                                self.list.append(getConfigListEntry(_("AC3 downmix"), config.av.downmix_ac3))
 
+               if SystemInfo["CanChangeOsdAlpha"]:
+                       self.list.append(getConfigListEntry(_("OSD visibility"), config.av.osd_alpha))
+
                self["config"].list = self.list
                self["config"].l.setList(self.list)
 
@@ -108,6 +111,9 @@ class VideoSetup(Screen, ConfigListScreen):
 
        def confirm(self, confirmed):
                if not confirmed:
+                       config.av.videoport.value = self.last_good[0]
+                       config.av.videomode[self.last_good[0]].value = self.last_good[1]
+                       config.av.videorate[self.last_good[1]].value = self.last_good[2]
                        self.hw.setMode(*self.last_good)
                else:
                        self.keySave()