mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
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 <jamrial@gmail.com>
This commit is contained in:
1 parent
5a23ac8460
commit
8948fa70d4
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user