Skip to content

Commit

Permalink
Change default Xinerama aspect ratio to widescreen
Browse files Browse the repository at this point in the history
and re-order the list in setup.

Note that anyone using Xinerama should still specify a proper aspect
ratio using the setting:

Monitor aspect ratio
The aspect ratio of a Xinerama display cannot be queried from the
display, so it must be specified.

in frontend Appearance settings, but since many users seem to miss this
setting after enabling Xinerama, this change updates the default to a
value that's more likely to be right, today.
  • Loading branch information
sphery committed May 30, 2013
1 parent fa2210f commit e4c52f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -237,7 +237,7 @@ MythPlayer::MythPlayer(PlayerFlags flags)

defaultDisplayAspect =
gCoreContext->GetFloatSettingOnHost("XineramaMonitorAspectRatio",
gCoreContext->GetHostName(), 1.3333);
gCoreContext->GetHostName(), 1.7777);
captionsEnabledbyDefault = gCoreContext->GetNumSetting("DefaultCCMode");
decode_extra_audio = gCoreContext->GetNumSetting("DecodeExtraAudio", 0);
itvEnabled = gCoreContext->GetNumSetting("EnableMHEG", 0);
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/globalsettings.cpp
Expand Up @@ -1662,9 +1662,9 @@ static HostComboBox *XineramaMonitorAspectRatio()
{
HostComboBox *gc = new HostComboBox("XineramaMonitorAspectRatio");
gc->setLabel(QObject::tr("Monitor aspect ratio"));
gc->addSelection(QObject::tr("4:3"), "1.3333");
gc->addSelection(QObject::tr("16:9"), "1.7777");
gc->addSelection(QObject::tr("16:10"), "1.6");
gc->addSelection(QObject::tr("4:3"), "1.3333");
gc->setHelpText(QObject::tr(
"The aspect ratio of a Xinerama display cannot be "
"queried from the display, so it must be specified."));
Expand Down

0 comments on commit e4c52f2

Please sign in to comment.