diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-13 23:27:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-13 23:27:43 +0000 |
commit | 2e720e11bce00515616ce2dc45a95df1ee160413 (patch) | |
tree | 76e52655399deb8b365190082e4f6f57d25e332e | |
parent | 8b5e5ec5d71f9240bc44a912507953d2d94bfcb4 (diff) | |
download | ffmpeg-2e720e11bce00515616ce2dc45a95df1ee160413.tar.gz |
dump metadata for AVStreams & AVPrograms too.
Originally committed as revision 20846 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 34e771b766..7552863de3 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2904,6 +2904,7 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out print_fps(1/av_q2d(st->codec->time_base), "tbc"); } av_log(NULL, AV_LOG_INFO, "\n"); + dump_metadata(NULL, st->metadata, " "); } void dump_format(AVFormatContext *ic, @@ -2959,6 +2960,7 @@ void dump_format(AVFormatContext *ic, "name", NULL, 0); av_log(NULL, AV_LOG_INFO, " Program %d %s\n", ic->programs[j]->id, name ? name->value : ""); + dump_metadata(NULL, ic->programs[j]->metadata, " "); for(k=0; k<ic->programs[j]->nb_stream_indexes; k++) { dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output); printed[ic->programs[j]->stream_index[k]] = 1; |