diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-05-23 17:30:46 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-05-23 17:30:46 +0000 |
| commit | 924b11457b3276c94631707fc66419b8db6d5cb8 (patch) | |
| tree | 41aadafa1f460cf6ad7229e5ab2364354ee76365 /lib/python/Plugins/SystemPlugins/Videomode/plugin.py | |
| parent | 5b1ffb7f189a2ebf1389595fe2e33ef816805480 (diff) | |
| download | enigma2-924b11457b3276c94631707fc66419b8db6d5cb8.tar.gz enigma2-924b11457b3276c94631707fc66419b8db6d5cb8.zip | |
cleanup PC Modes
add 480p and 576p to DVI and YPbPr
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/plugin.py')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/plugin.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py index 115e81f7..eb58568e 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py @@ -59,7 +59,10 @@ class VideoSetup(Screen, ConfigListScreen): if config.av.videoport.value in config.av.videomode: # add mode- and rate-selection: self.list.append(getConfigListEntry(_("Mode"), config.av.videomode[config.av.videoport.value])) - self.list.append(getConfigListEntry(_("Refresh Rate"), config.av.videorate[config.av.videomode[config.av.videoport.value].value])) + if config.av.videomode[config.av.videoport.value].value == 'PC': + self.list.append(getConfigListEntry(_("Resolution"), config.av.videorate[config.av.videomode[config.av.videoport.value].value])) + else: + self.list.append(getConfigListEntry(_("Refresh Rate"), config.av.videorate[config.av.videomode[config.av.videoport.value].value])) port = config.av.videoport.value if port not in config.av.videomode: |
