Skip to content
Snippets Groups Projects
Commit 23c91abe authored by Aman Gupta's avatar Aman Gupta
Browse files

avcodec/aacdec: log configuration change details

parent 5ab0ecf2
No related branches found
No related tags found
No related merge requests found
...@@ -318,8 +318,8 @@ static int latm_decode_audio_specific_config(struct LATMContext *latmctx, ...@@ -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");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment