You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
avformat/dump: don't print streams withing a group twice
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -789,8 +789,10 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
|
|||||||
}
|
}
|
||||||
for (int i = 0; i < stg->nb_streams; i++) {
|
for (int i = 0; i < stg->nb_streams; i++) {
|
||||||
const AVStream *st = stg->streams[i];
|
const AVStream *st = stg->streams[i];
|
||||||
if (!printed[st->index])
|
if (!printed[st->index]) {
|
||||||
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_INFO);
|
||||||
|
printed[st->index] = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user