aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-03-02 19:58:40 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-03-02 19:58:40 +0000
commit981ea0ab0bc77f156ed43f2e028ffbc806f68b54 (patch)
treee47f28a92a546b1f281ca97228024edcc495ca48 /lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
parent4ea4f33a6a0382249996c4dae4db31ae2e059dbb (diff)
downloadenigma2-981ea0ab0bc77f156ed43f2e028ffbc806f68b54.tar.gz
enigma2-981ea0ab0bc77f156ed43f2e028ffbc806f68b54.zip
store video setup after finishing video wizard
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
index 177cbd09..f3e3c07a 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py
@@ -137,6 +137,11 @@ class VideoHardware:
open("/proc/stb/video/aspect", "w").write("any")
open("/proc/stb/video/policy", "w").write("panscan")
+ def saveMode(self, port, mode, rate):
+ config.av.videoport.value = port
+ config.av.videomode[port].value = mode
+ config.av.videorate[mode].value = rate
+
def isPortAvailable(self, port):
# fixme
return True
@@ -194,6 +199,7 @@ class VideoHardware:
rate = config.av.videorate[mode].value
self.setMode(port, mode, rate)
+
config.av.edid_override = ConfigYesNo(default = False)
video_hw = VideoHardware()