From 8948fa70d41b2316690a6bdca86e507345750fa4 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 28 Sep 2026 17:31:59 -0300 Subject: [PATCH] avformat/dump: print IAMF Audio Element streams in info log level They provide info the group itself can't, like underlying audio codec, which is nice to have available without having to request verbose logging. Signed-off-by: James Almer --- libavformat/dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 6a1ad91516..bbdec08c97 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -713,7 +713,8 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed, av_log(NULL, AV_LOG_INFO, "\n"); for (int k = 0; channel_count > 0 && k < stg->nb_streams; k++) { AVStream *st = stg->streams[k]; - dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_VERBOSE); + int loglevel = printed[st->index] ? AV_LOG_VERBOSE : AV_LOG_INFO; + dump_stream_format(ic, st->index, i, index, is_output, loglevel); printed[st->index] = 1; channel_count -= st->codecpar->ch_layout.nb_channels; }