projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b298dae
)
Make sure the Metadata: header is not printed if the only metadata will not
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 13 Dec 2009 23:39:20 +0000
(23:39 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 13 Dec 2009 23:39:20 +0000
(23:39 +0000)
be displayed. (idea from ffmbc)
Originally committed as revision 20850 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
1c68b3d
..
d7241f5
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-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);