summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2011-03-01 01:03:25 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2011-03-01 01:05:02 (GMT)
commit4af46b1f5da411c1fed9d648f7fe18ff324b8cb7 (patch)
tree3848012d9cbbda3236e8b72e6abebfccec7ac66e
parentbbfb6b02ab10c1fe1da1711415ac82a1e4642486 (diff)
Fix digital passthrough on Mac CoreAudio.
Under some circumstances (whenever the audio was being re-encoded in AC3) ; CoreAudio would open as an analog output instead of digital Backport SHA: 7bc4fa0cab5a4cd940cbd5fd10b5479eabab8d96
-rw-r--r--mythtv/libs/libmyth/audiooutputca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmyth/audiooutputca.cpp b/mythtv/libs/libmyth/audiooutputca.cpp
index c215952..904b94c 100644
--- a/mythtv/libs/libmyth/audiooutputca.cpp
+++ b/mythtv/libs/libmyth/audiooutputca.cpp
@@ -283,7 +283,7 @@ bool AudioOutputCA::OpenDevice()
{
bool deviceOpened = false;
- if (passthru)
+ if (passthru || enc)
{
if (!d->FindAC3Stream())
{