avformat/dump: always print non-tile streams in tile grid groups

This ensures streams in the group that don't belong in the grid are printed with
the default log level.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-09-26 14:18:05 -03:00
parent 2b689261c5
commit 545de54e3e
1 changed files with 7 additions and 2 deletions

View File

@ -782,11 +782,16 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
dump_disposition(stg->disposition, AV_LOG_INFO);
av_log(NULL, AV_LOG_INFO, "\n");
dump_metadata(NULL, stg->metadata, " ", AV_LOG_INFO);
for (int i = 0; i < stg->nb_streams; i++) {
const AVStream *st = stg->streams[i];
for (int i = 0; i < tile_grid->nb_tiles; i++) {
const AVStream *st = stg->streams[tile_grid->offsets[i].idx];
dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_VERBOSE);
printed[st->index] = 1;
}
for (int i = 0; i < stg->nb_streams; i++) {
const AVStream *st = stg->streams[i];
if (!printed[st->index])
dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_VERBOSE);
}
break;
}
case AV_STREAM_GROUP_PARAMS_LCEVC: {