diff options
author | Johns <johns98@gmx.net> | 2013-07-26 16:55:33 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-07-26 16:55:33 +0200 |
commit | 171a3f4dc9f54c3e9cc36ef5214b50e8776bade5 (patch) | |
tree | b75f9ab96163d078a471c33e1dd8e18918c12edf /codec.c | |
parent | 93357fb1cd6095988721052185d70161d1fc2e79 (diff) | |
download | vdr-plugin-softhddevice-171a3f4dc9f54c3e9cc36ef5214b50e8776bade5.tar.gz vdr-plugin-softhddevice-171a3f4dc9f54c3e9cc36ef5214b50e8776bade5.tar.bz2 |
Fix bug #1410: wrong spelled AC-3 and E-AC-3.
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -710,7 +710,7 @@ enum IEC61937 #ifdef USE_AUDIO_DRIFT_CORRECTION #define CORRECT_PCM 1 ///< do PCM audio-drift correction -#define CORRECT_AC3 2 ///< do AC3 audio-drift correction +#define CORRECT_AC3 2 ///< do AC-3 audio-drift correction static char CodecAudioDrift; ///< flag: enable audio-drift correction #else static const int CodecAudioDrift = 0; @@ -871,7 +871,7 @@ void CodecAudioClose(AudioDecoder * audio_decoder) /** ** Set audio drift correction. ** -** @param mask enable mask (PCM, AC3) +** @param mask enable mask (PCM, AC-3) */ void CodecSetAudioDrift(int mask) { @@ -884,7 +884,7 @@ void CodecSetAudioDrift(int mask) /** ** Set audio pass-through. ** -** @param mask enable mask (PCM, AC3, EAC3) +** @param mask enable mask (PCM, AC-3, E-AC-3) */ void CodecSetAudioPassthrough(int mask) { @@ -985,8 +985,8 @@ static int CodecAudioUpdateHelper(AudioDecoder * audio_decoder, av_get_sample_fmt_name(audio_ctx->sample_fmt), audio_ctx->sample_rate, audio_ctx->channels, CodecPassthrough & CodecPCM ? " PCM" : "", CodecPassthrough & CodecMPA ? " MPA" : "", - CodecPassthrough & CodecAC3 ? " AC3" : "", - CodecPassthrough & CodecEAC3 ? " EAC3" : "", + CodecPassthrough & CodecAC3 ? " AC-3" : "", + CodecPassthrough & CodecEAC3 ? " E-AC-3" : "", CodecPassthrough ? " pass-through" : ""); *passthrough = 0; @@ -1001,7 +1001,7 @@ static int CodecAudioUpdateHelper(AudioDecoder * audio_decoder, || (CodecPassthrough & CodecEAC3 && audio_ctx->codec_id == AV_CODEC_ID_EAC3)) { if (audio_ctx->codec_id == AV_CODEC_ID_EAC3) { - // EAC3 over HDMI some receivers need HBR + // E-AC-3 over HDMI some receivers need HBR audio_decoder->HwSampleRate *= 4; } audio_decoder->HwChannels = 2; @@ -1014,7 +1014,7 @@ static int CodecAudioUpdateHelper(AudioDecoder * audio_decoder, AudioSetup(&audio_decoder->HwSampleRate, &audio_decoder->HwChannels, *passthrough))) { - // try EAC3 none HBR + // try E-AC-3 none HBR audio_decoder->HwSampleRate /= 4; if (audio_ctx->codec_id != AV_CODEC_ID_EAC3 || (err = |