aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-03-13 19:15:07 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-03-13 19:15:07 +0000
commit8d6a064f7a6f3b38ddf2940290b0ebdc6b4d5356 (patch)
tree86ef2e0873ae472991712545f2a6b63d594c17b5 /lib/python/Plugins/SystemPlugins/Videomode/plugin.py
parent6f461023bf90fd89dd96a8463b5cdeb2f3fd0feb (diff)
downloadenigma2-8d6a064f7a6f3b38ddf2940290b0ebdc6b4d5356.tar.gz
enigma2-8d6a064f7a6f3b38ddf2940290b0ebdc6b4d5356.zip
add config option to enable/disable ac3 downmix (when its possible with used
hardware)
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/plugin.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/plugin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
index aac25d6b..031d2c12 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
@@ -1,6 +1,6 @@
from Screens.Screen import Screen
from Plugins.Plugin import PluginDescriptor
-
+from Components.SystemInfo import SystemInfo
from Components.ConfigList import ConfigListScreen
from Components.config import getConfigListEntry, config
from Components.config import config
@@ -83,9 +83,13 @@ class VideoSetup(Screen, ConfigListScreen):
self.list.append(getConfigListEntry(_("Color Format"), config.av.colorformat))
if level >= 1:
self.list.append(getConfigListEntry(_("WSS on 4:3"), config.av.wss))
+ if SystemInfo["ScartSwitch"]:
+ self.list.append(getConfigListEntry(_("Auto scart switching"), config.av.vcrswitch))
if level >= 1:
self.list.append(getConfigListEntry(_("AC3 default"), config.av.defaultac3))
+ if SystemInfo["CanDownmixAC3"]:
+ self.list.append(getConfigListEntry(_("AC3 downmix"), config.av.downmix_ac3))
self["config"].list = self.list
self["config"].l.setList(self.list)