You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avformat/dump: print only the actual streams in a tile grid group
The amount of tiles does not necessarely need to match the amount of streams. Fixes ticket #11389. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -788,8 +788,8 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
|
|||||||
dump_sidedata(NULL, tile_grid->coded_side_data, tile_grid->nb_coded_side_data,
|
dump_sidedata(NULL, tile_grid->coded_side_data, tile_grid->nb_coded_side_data,
|
||||||
tile_grid->width, tile_grid->height, (AVRational) {0,1},
|
tile_grid->width, tile_grid->height, (AVRational) {0,1},
|
||||||
" ", AV_LOG_INFO);
|
" ", AV_LOG_INFO);
|
||||||
for (int i = 0; i < tile_grid->nb_tiles; i++) {
|
for (int i = 0; i < stg->nb_streams; i++) {
|
||||||
const AVStream *st = stg->streams[tile_grid->offsets[i].idx];
|
const AVStream *st = stg->streams[i];
|
||||||
dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_VERBOSE);
|
dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_VERBOSE);
|
||||||
printed[st->index] = 1;
|
printed[st->index] = 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user