mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
av_dump_format: add a heading for chapters
Otherwise the chapters look like a part of the metadata section.
This commit is contained in:
parent
2367affc2c
commit
80aad8886a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user