summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2010-12-07 09:02:28 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2010-12-07 09:05:39 (GMT)
commit3e9463e2f5833edeead0a96011725526c1d8391d (patch)
tree650a682e126907bf342c0217e8e0620ebbff37e9
parent5cd75dbea7bf07b1d243a062de63d85b7e927de6 (diff)
Following [98a196], fix same logic error used in the settings which prevented selecting 7.1 unless audio advanced was selected
-rw-r--r--mythtv/programs/mythfrontend/globalsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/programs/mythfrontend/globalsettings.cpp b/mythtv/programs/mythfrontend/globalsettings.cpp
index 59feec6..0efe035 100644
--- a/mythtv/programs/mythfrontend/globalsettings.cpp
+++ b/mythtv/programs/mythfrontend/globalsettings.cpp
@@ -311,7 +311,7 @@ void AudioConfigSettings::UpdateCapabilities(const QString &device)
m_DTSPassThrough->boolValue();
bool bLPCM = settings.canPassthrough() == -1 ||
(settings.canLPCM() &&
- m_AdvancedAudioSettings->boolValue() && !m_MPCM->boolValue());
+ !(m_AdvancedAudioSettings->boolValue() && m_MPCM->boolValue()));
if (max_speakers > 2 && !bLPCM)
max_speakers = 2;