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 09:05:07 (GMT)
commit5cd75dbea7bf07b1d243a062de63d85b7e927de6 (patch)
tree579fd8b8039dcb2c98d943a506c39e3b595a30d2
parentd3d2640c9c6d7ec1be857c3471069d40e5a50f17 (diff)
Fix logic error that forced to have audio advanced checked to get 7.1 LPCM
-rw-r--r--mythtv/libs/libmyth/audiooutputsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmyth/audiooutputsettings.cpp b/mythtv/libs/libmyth/audiooutputsettings.cpp
index fb89c41..821477c 100644
--- a/mythtv/libs/libmyth/audiooutputsettings.cpp
+++ b/mythtv/libs/libmyth/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;