diff options
author | Johns <johns98@gmx.net> | 2013-02-12 22:03:52 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-02-12 22:03:52 +0100 |
commit | 7b2caac9017b79284ea2a1100f9fabb9ec8a8daf (patch) | |
tree | 0910afc801ce37ddcca769cbeef633db0ab910a4 /codec.c | |
parent | 56aae221e78613bbfdb302f5e7ae4bc84237129b (diff) | |
download | vdr-plugin-softhddevice-7b2caac9017b79284ea2a1100f9fabb9ec8a8daf.tar.gz vdr-plugin-softhddevice-7b2caac9017b79284ea2a1100f9fabb9ec8a8daf.tar.bz2 |
Fix bug: still old CodecPassthroughAC3 used.
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1205,9 +1205,9 @@ static void CodecAudioSetClock(AudioDecoder * audio_decoder, int64_t pts) audio_decoder->Drift = drift; corr = (10 * audio_decoder->HwSampleRate * drift) / (90 * 1000); // SPDIF/HDMI passthrough - if ((CodecAudioDrift & CORRECT_AC3) && (!CodecPassthroughAC3 + if ((CodecAudioDrift & CORRECT_AC3) && (!(CodecPassthrough & CodecAC3) || audio_decoder->AudioCtx->codec_id != CODEC_ID_AC3) - && (!CodecPassthroughEAC3 + && (!(CodecPassthrough & CodecEAC3) || audio_decoder->AudioCtx->codec_id != CODEC_ID_EAC3)) { audio_decoder->DriftCorr = -corr; } |