Browse Source

avcodec/aacdec: log configuration change details

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.0
Aman Gupta 8 years ago
parent
commit
23c91abe4f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/aacdec.c

+ 2
- 2
libavcodec/aacdec.c View File

@@ -318,8 +318,8 @@ static int latm_decode_audio_specific_config(struct LATMContext *latmctx,
ac->oc[1].m4ac.sample_rate != m4ac.sample_rate ||
ac->oc[1].m4ac.chan_config != m4ac.chan_config) {

if(latmctx->initialized) {
av_log(avctx, AV_LOG_INFO, "audio config changed\n");
if (latmctx->initialized) {
av_log(avctx, AV_LOG_INFO, "audio config changed (sample_rate=%d, chan_config=%d)\n", m4ac.sample_rate, m4ac.chan_config);
} else {
av_log(avctx, AV_LOG_DEBUG, "initializing latmctx\n");
}


Loading…
Cancel
Save