Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix a bug introduced in SHA1:ad091eccdd.

Under some circumstances, myth's downmixer wouldn't be used even when supposed to
  • Loading branch information...
1 parent 909b444 commit 867829521b8b8c39df68fed0b62910cb4aa7b197 @jyavenard jyavenard committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 mythtv/libs/libmythtv/avformatdecoder.cpp
6 mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -4538,9 +4538,11 @@ inline bool AvFormatDecoder::DecoderWillDownmix(const AVCodecContext *ctx)
// Until ffmpeg properly implements dialnorm
// use Myth internal downmixer if machines has FPU/SSE
- if (!m_audio->CanDownmix() || !AudioOutputUtil::has_hardware_fpu())
+ if (m_audio->CanDownmix() && AudioOutputUtil::has_hardware_fpu())
+ return false;
+ if (!m_audio->CanDownmix())
return true;
+ // use ffmpeg only for dolby codecs if we have to
switch (ctx->codec_id)
case CODEC_ID_AC3:

0 comments on commit 8678295

Please sign in to comment.
Something went wrong with that request. Please try again.