Skip to content

Commit

Permalink
Backport r27225, fix passthrough
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.mythtv.org/svn/branches/release-0-24-fixes@27226 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
jyavenard committed Nov 15, 2010
1 parent 03d161d commit ae750cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -4605,7 +4605,7 @@ bool AvFormatDecoder::DoPassThrough(const AVCodecContext *ctx)
passthru = m_audio->CanDTS(); passthru = m_audio->CanDTS();
passthru &= m_audio->CanPassthrough(ctx->sample_rate); passthru &= m_audio->CanPassthrough(ctx->sample_rate);
// Will downmix if we can't support the amount of channels // Will downmix if we can't support the amount of channels
passthru &= ctx->channels >= (int)m_audio->GetMaxChannels(); passthru &= ctx->channels <= (int)m_audio->GetMaxChannels();
passthru &= !internal_vol; passthru &= !internal_vol;
passthru &= !transcoding && !disable_passthru; passthru &= !transcoding && !disable_passthru;
// Don't know any cards that support spdif clocked at < 44100 // Don't know any cards that support spdif clocked at < 44100
Expand Down

0 comments on commit ae750cc

Please sign in to comment.