Otherwise the chapters look like a part of the metadata section.
---
 libavformat/dump.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index fe628010d3..ca73c2810c 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -686,6 +686,8 @@ void av_dump_format(AVFormatContext *ic, int index,
         av_log(NULL, AV_LOG_INFO, "\n");
     }
 
+    if (ic->nb_chapters)
+        av_log(NULL, AV_LOG_INFO, "  Chapters:\n");
     for (i = 0; i < ic->nb_chapters; i++) {
         const AVChapter *ch = ic->chapters[i];
         av_log(NULL, AV_LOG_INFO, "    Chapter #%d:%d: ", index, i);
-- 
2.28.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to