Disable use of HBR for DD+

This commit is contained in:
jojo61
2023-07-14 09:15:34 +02:00
parent 4837f7fa35
commit e2e9ae94d7
2 changed files with 2 additions and 2 deletions

View File

@@ -894,7 +894,7 @@ static int CodecAudioUpdateHelper(AudioDecoder *audio_decoder, int *passthrough)
(CodecPassthrough & CodecEAC3 && audio_ctx->codec_id == AV_CODEC_ID_EAC3)) {
if (audio_ctx->codec_id == AV_CODEC_ID_EAC3) {
// E-AC-3 over HDMI some receivers need HBR
audio_decoder->HwSampleRate *= 4;
//audio_decoder->HwSampleRate *= 4;
}
audio_decoder->HwChannels = 2;
audio_decoder->SpdifIndex = 0; // reset buffer