Skip to content

Commit

Permalink
[VideoMode] remove 'aspect' setting from users, that has no use.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Blackburn committed Oct 25, 2013
1 parent bc2fd7d commit 334c0ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/python/Components/AVSwitch.py
Expand Up @@ -396,6 +396,7 @@ def InitAVSwitch():
config.av.generalPCMdelay = ConfigSelectionNumber(-1000, 1000, 5, default = 0)
config.av.vcrswitch = ConfigEnableDisable(default = False)

config.av.aspect.setValue('16:9')
config.av.aspect.addNotifier(iAVSwitch.setAspect)
config.av.wss.addNotifier(iAVSwitch.setWss)
config.av.policy_43.addNotifier(iAVSwitch.setPolicy43)
Expand Down
4 changes: 2 additions & 2 deletions lib/python/Screens/VideoMode.py
Expand Up @@ -87,8 +87,8 @@ def createSetup(self):
# some modes (720p, 1080i) are always widescreen. Don't let the user select something here, "auto" is not what he wants.
force_wide = self.hw.isWidescreenMode(port, mode)

if not force_wide:
self.list.append(getConfigListEntry(_("Aspect ratio"), config.av.aspect, _("Configure the aspect ratio of the screen.")))
# if not force_wide:
# self.list.append(getConfigListEntry(_("Aspect ratio"), config.av.aspect, _("Configure the aspect ratio of the screen.")))

if force_wide or config.av.aspect.getValue() in ("16:9", "16:10"):
self.list.extend((
Expand Down

0 comments on commit 334c0ed

Please sign in to comment.