Permalink
Browse files

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
  • Loading branch information...
1 parent bbfb6b0 commit 4af46b1f5da411c1fed9d648f7fe18ff324b8cb7 @jyavenard jyavenard committed Mar 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audiooutputca.cpp
@@ -283,7 +283,7 @@ bool AudioOutputCA::OpenDevice()
{
bool deviceOpened = false;
- if (passthru)
+ if (passthru || enc)
{
if (!d->FindAC3Stream())
{

0 comments on commit 4af46b1

Please sign in to comment.