Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix wrong logic : we do not passthrough only if we do not support the…

… number of channels, not if we support it

git-svn-id: http://svn.mythtv.org/svn/trunk@27225 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
commit 32ff8c8e1d64392bf8c6303efe847d5578cd8d8c 1 parent 80f5975
@jyavenard jyavenard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/libs/libmythtv/avformatdecoder.cpp
View
2  mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -4605,7 +4605,7 @@ bool AvFormatDecoder::DoPassThrough(const AVCodecContext *ctx)
passthru = m_audio->CanDTS();
passthru &= m_audio->CanPassthrough(ctx->sample_rate);
// 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 &= !transcoding && !disable_passthru;
// Don't know any cards that support spdif clocked at < 44100
Please sign in to comment.
Something went wrong with that request. Please try again.