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

michael subversion
Mon Dec 14 00:30:41 CET 2009


Author: michael
Date: Mon Dec 14 00:30:41 2009
New Revision: 20847

Log:
Skip dumping language twice.
This looks too ugly. Idea also from ffmbc.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Mon Dec 14 00:27:43 2009	(r20846)
+++ trunk/libavformat/utils.c	Mon Dec 14 00:30:41 2009	(r20847)
@@ -2859,6 +2859,7 @@ static void dump_metadata(void *ctx, AVM
 
         av_log(ctx, AV_LOG_INFO, "%sMetadata:\n", indent);
         while((tag=av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
+            if(strcmp("language", tag->key))
             av_log(ctx, AV_LOG_INFO, "%s  %-16s: %s\n", indent, tag->key, tag->value);
         }
     }



More information about the ffmpeg-cvslog mailing list