mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/aacdec: log configuration change details
Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5ab0ecf283
commit
23c91abe4f
|
@ -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.sample_rate != m4ac.sample_rate ||
|
||||||
ac->oc[1].m4ac.chan_config != m4ac.chan_config) {
|
ac->oc[1].m4ac.chan_config != m4ac.chan_config) {
|
||||||
|
|
||||||
if(latmctx->initialized) {
|
if (latmctx->initialized) {
|
||||||
av_log(avctx, AV_LOG_INFO, "audio config changed\n");
|
av_log(avctx, AV_LOG_INFO, "audio config changed (sample_rate=%d, chan_config=%d)\n", m4ac.sample_rate, m4ac.chan_config);
|
||||||
} else {
|
} else {
|
||||||
av_log(avctx, AV_LOG_DEBUG, "initializing latmctx\n");
|
av_log(avctx, AV_LOG_DEBUG, "initializing latmctx\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue