mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 19:07:55 +00:00
Moves the display of metadata to dump_format()
Originally committed as revision 19632 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5f71844e78
commit
c0b88f1920
2 changed files with 8 additions and 8 deletions
|
@ -2916,6 +2916,14 @@ void dump_format(AVFormatContext *ic,
|
|||
} else
|
||||
for(i=0;i<ic->nb_streams;i++)
|
||||
dump_stream_format(ic, i, index, is_output);
|
||||
if (ic->metadata) {
|
||||
AVMetadataTag *tag=NULL;
|
||||
av_log(NULL, AV_LOG_INFO, " Metadata\n");
|
||||
while((tag=av_metadata_get(ic->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
|
||||
av_log(NULL, AV_LOG_INFO, " %-16s: %s\n", tag->key, tag->value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#if LIBAVFORMAT_VERSION_MAJOR < 53
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue