summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2010-11-19 09:36:34 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2010-11-19 09:36:34 (GMT)
commitda47d2ebe9be563055ba829b5adf2d6ff4c16af3 (patch)
tree01f1815eff64f6e154f4af591e58d50846813f7c
parent6b4419e2e966f8e4a232c9fe1141ffdd7ebef1d9 (diff)
Revert [27251] as it breaks 5.1 upmix from stereo for AC3 content
git-svn-id: http://svn.mythtv.org/svn/branches/release-0-24-fixes@27299 7dbf422c-18fa-0310-86e9-fd20926502f2
-rw-r--r--mythtv/libs/libmyth/audiooutputsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mythtv/libs/libmyth/audiooutputsettings.cpp b/mythtv/libs/libmyth/audiooutputsettings.cpp
index 5bafc82..a0d5cd0 100644
--- a/mythtv/libs/libmyth/audiooutputsettings.cpp
+++ b/mythtv/libs/libmyth/audiooutputsettings.cpp
@@ -316,6 +316,8 @@ AudioOutputSettings* AudioOutputSettings::GetUsers(bool newcopy)
cur_channels = max_channels;
aosettings->SetBestSupportedChannels(cur_channels);
+ if (cur_channels <= 2)
+ bDTS = bAC3 = false;
aosettings->m_AC3 = bAC3;
aosettings->m_DTS = bDTS;
aosettings->m_LPCM = bLPCM;