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:02:28 (GMT)
commitf1b4edc8eaed7d4aab0f68704ac5b75a451ed7f6 (patch)
tree090a9f806cb1079cb0080a48d32290ac07df001d
parent98a196941ac35f9a4601bcb93314cda00aa0b7ec (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 3e17a46..47f96af 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;