ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Thu Sep 26 14:18:05 2024 -0300| [545de54e3e0ce5ad1285aa5e111e6657ad803f79] | committer: James Almer
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 <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=545de54e3e0ce5ad1285aa5e111e6657ad803f79 --- libavformat/dump.c | 9 +++++++-- 1 file 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: { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".