X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9ebda6e28dcc96d34b6c5c63d94883adc7ef2dd3..06c6fcf1e814c32ef8aaa6cb6f5e3a567f64c866:/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index c90f8fd8..43543bb1 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py @@ -46,12 +46,13 @@ class VideoHardware: "1366x768" : { 60: "1366x768"}, "1366x768 multi" : { 50: "1366x768", 60: "1366x768_50"}, "1280x768": { 60: "1280x768"}, - "640x480" : { 60: "640x480"} + "640x480" : { 60: "640x480"} } modes["Scart"] = ["PAL", "NTSC", "Multi"] modes["YPbPr"] = ["720p", "1080i"] modes["DVI"] = ["720p", "1080i", "PC"] + modes["DVI-PC"] = ["PC"] widescreen_modes = set(["720p", "1080i"]) @@ -164,8 +165,11 @@ class VideoHardware: def saveMode(self, port, mode, rate): config.av.videoport.value = port + config.av.videoport.save() config.av.videomode[port].value = mode + config.av.videomode[port].save() config.av.videorate[mode].value = rate + config.av.videorate[mode].save() def isPortAvailable(self, port): # fixme