]> git.sesse.net Git - ffmpeg/commitdiff
Move dump_metadata() to where it is in ffmbc, looks better.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Dec 2009 23:34:46 +0000 (23:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Dec 2009 23:34:46 +0000 (23:34 +0000)
Originally committed as revision 20849 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index 9a1bd45303e478c4be3249703b0e1c7552b4a77f..1c68b3dadea2805451bc83c5d78bae2e2eec8449 100644 (file)
@@ -2923,6 +2923,7 @@ void dump_format(AVFormatContext *ic,
             index,
             is_output ? ic->oformat->name : ic->iformat->name,
             is_output ? "to" : "from", url);
+    dump_metadata(NULL, ic->metadata, "  ");
     if (!is_output) {
         av_log(NULL, AV_LOG_INFO, "  Duration: ");
         if (ic->duration != AV_NOPTS_VALUE) {
@@ -2975,7 +2976,6 @@ void dump_format(AVFormatContext *ic,
         if (!printed[i])
             dump_stream_format(ic, i, index, is_output);
 
-    dump_metadata(NULL, ic->metadata, "  ");
     av_free(printed);
 }