changeset 5456:90b61b66076d libavformat

dump metadata for AVStreams & AVPrograms too.
author michael
date Sun, 13 Dec 2009 23:27:43 +0000
parents df772456ed85
children b545a1df03eb
files utils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun Dec 13 23:19:24 2009 +0000
+++ b/utils.c	Sun Dec 13 23:27:43 2009 +0000
@@ -2904,6 +2904,7 @@
             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 @@
                                                   "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;