aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dump.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-09-26 14:18:05 -0300
committerJames Almer <jamrial@gmail.com>2024-09-27 14:36:10 -0300
commit545de54e3e0ce5ad1285aa5e111e6657ad803f79 (patch)
treeae5df3246b1ecbf979db69301ed20c50c5865969 /libavformat/dump.c
parent2b689261c5bae0005a76403219392f8a597717ed (diff)
downloadffmpeg-545de54e3e0ce5ad1285aa5e111e6657ad803f79.tar.gz
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>
Diffstat (limited to 'libavformat/dump.c')
-rw-r--r--libavformat/dump.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index f20c2c4953..0440a7a405 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -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: {