[FFmpeg-cvslog] r20846 - trunk/libavformat/utils.c

michael subversion
Mon Dec 14 00:27:43 CET 2009


Author: michael
Date: Mon Dec 14 00:27:43 2009
New Revision: 20846

Log:
dump metadata for AVStreams & AVPrograms too.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Mon Dec 14 00:19:24 2009	(r20845)
+++ trunk/libavformat/utils.c	Mon Dec 14 00:27:43 2009	(r20846)
@@ -2904,6 +2904,7 @@ static void dump_stream_format(AVFormatC
             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;



More information about the ffmpeg-cvslog mailing list