[FFmpeg-cvslog] avformat/dump: don't print streams withing a group twice
James Almer
git at videolan.org
Sat Sep 28 01:46:15 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 27 19:44:18 2024 -0300| [01c47dd235aea6bfb78a260494b47cf56183e981] | committer: James Almer
avformat/dump: don't print streams withing a group twice
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01c47dd235aea6bfb78a260494b47cf56183e981
---
libavformat/dump.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavformat/dump.c b/libavformat/dump.c
index bc25e4dd0a..a8e968fd86 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -789,8 +789,10 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
}
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);
+ if (!printed[st->index]) {
+ dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_INFO);
+ printed[st->index] = 1;
+ }
}
break;
}
More information about the ffmpeg-cvslog
mailing list