summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2010-12-07 00:13:51 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2010-12-07 00:13:51 (GMT)
commit98a196941ac35f9a4601bcb93314cda00aa0b7ec (patch)
tree23baf5322f06539e67ce5d8a5809a9559f0c86cf
parent7b59f38a20b6fc8242ff8e5da6b35ce197cf65ba (diff)
Fix logic error that forced to have audio advanced checked to get 7.1 LPCM
-rw-r--r--mythtv/libs/libmyth/audio/audiooutputsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmyth/audio/audiooutputsettings.cpp b/mythtv/libs/libmyth/audio/audiooutputsettings.cpp
index fb89c41..821477c 100644
--- a/mythtv/libs/libmyth/audio/audiooutputsettings.cpp
+++ b/mythtv/libs/libmyth/audio/audiooutputsettings.cpp
@@ -308,7 +308,7 @@ AudioOutputSettings* AudioOutputSettings::GetUsers(bool newcopy)
gCoreContext->GetNumSetting("DTSPassThru", false);
bool bLPCM = aosettings->m_LPCM &&
(aosettings->m_passthrough == -1 ||
- (bAdv && !gCoreContext->GetNumSetting("StereoPCM", false)));
+ !(bAdv && gCoreContext->GetNumSetting("StereoPCM", false)));
if (max_channels > 2 && !bLPCM)
max_channels = 2;