Permalink
Browse files

Fix logic error that forced to have audio advanced checked to get 7.1…

… LPCM
  • Loading branch information...
jyavenard committed Dec 7, 2010
1 parent d3d2640 commit 5cd75dbea7bf07b1d243a062de63d85b7e927de6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 5cd75db

Please sign in to comment.