Commit 02483df4 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Make sure the Metadata: header is not printed if the only metadata will not

be displayed. (idea from ffmbc)

Originally committed as revision 20850 to svn://
parent b298daea
......@@ -2854,7 +2854,7 @@ static void print_fps(double d, const char *postfix){
static void dump_metadata(void *ctx, AVMetadata *m, const char *indent)
if(m && !(m->count == 1 && av_metadata_get(m, "language", NULL, 0))){
AVMetadataTag *tag=NULL;
av_log(ctx, AV_LOG_INFO, "%sMetadata:\n", indent);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment