From: Felix Domke Date: Mon, 11 Feb 2008 14:39:43 +0000 (+0000) Subject: workaround: on non-scart modes, set aspect/policy X-Git-Tag: 2.6.0~1554 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c1e207b8fc71d8d909559887c0b8b9351ce9f86c workaround: on non-scart modes, set aspect/policy --- diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index a6d886c6..c6d6b864 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py @@ -132,6 +132,11 @@ class VideoHardware: except IOError: print "writing initial videomode to /etc/videomode failed." + # workaround: this should not be set here. + if port != "Scart": + open("/proc/stb/video/aspect", "w").write("any") + open("/proc/stb/video/policy", "w").write("panscan") + def isPortAvailable(self, port): # fixme return True