From e2e9ae94d77e7963bff47563d03a102a77bc096e Mon Sep 17 00:00:00 2001 From: jojo61 Date: Fri, 14 Jul 2023 09:15:34 +0200 Subject: [PATCH] Disable use of HBR for DD+ --- codec.c | 2 +- softhdcuvid.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codec.c b/codec.c index baaead1..df760f6 100644 --- a/codec.c +++ b/codec.c @@ -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 diff --git a/softhdcuvid.cpp b/softhdcuvid.cpp index 94e3bb8..718d08d 100644 --- a/softhdcuvid.cpp +++ b/softhdcuvid.cpp @@ -61,7 +61,7 @@ extern void ToggleLUT(); /// vdr-plugin version number. /// Makefile extracts the version number for generating the file name /// for the distribution archive. -static const char *const VERSION = "3.11" +static const char *const VERSION = "3.12" #ifdef GIT_REV "-GIT" GIT_REV #endif