aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-03-06 12:44:59 -0800
committerAman Gupta <aman@tmm1.net>2018-03-07 11:32:50 -0800
commit23c91abe4f6a76d0a5066adf2abbf8cd66f1b1ec (patch)
tree5bf0f79c76f890955cdce61bb9cb6b8cf616fd36 /libavcodec
parent5ab0ecf2830fd7a864bb21f7fe247594872932fa (diff)
downloadffmpeg-23c91abe4f6a76d0a5066adf2abbf8cd66f1b1ec.tar.gz
avcodec/aacdec: log configuration change details
Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aacdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 44352764a7..d394700cdc 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -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");
}