Commit 16c99fe6 authored by michael's avatar michael

Make sure the Metadata: header isnt printed if the only metadata wont

be displayed. (idea from ffmbc)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20850 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c1966d5d
......@@ -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){
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