git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround: on non-scart modes, set aspect/policy
[enigma2.git]
/
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 a6d886c6e09b28797cfa557590917cb74ed78eac..c6d6b864e9ca84bd0a93bf3b067348187bc045f1 100644
(file)
--- 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."
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
def isPortAvailable(self, port):
# fixme
return True