1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Move dump_metadata() to where it is in ffmbc, looks better.

Originally committed as revision 20849 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-12-13 23:34:46 +00:00
parent 229303d16c
commit b298daea1a

View 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);
}