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:
e34a599
)
don't trigger metadata compatibility code when user app already set metadata
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 26 Feb 2009 13:00:13 +0000
(13:00 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 26 Feb 2009 13:00:13 +0000
(13:00 +0000)
using new API
Originally committed as revision 17608 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/metadata_compat.c
patch
|
blob
|
history
diff --git
a/libavformat/metadata_compat.c
b/libavformat/metadata_compat.c
index
ef4bdb5
..
b05fb04
100644
(file)
--- a/
libavformat/metadata_compat.c
+++ b/
libavformat/metadata_compat.c
@@
-118,6
+118,9
@@
void ff_metadata_mux_compat(AVFormatContext *ctx)
{
int i;
+ if (ctx->metadata && ctx->metadata->count > 0)
+ return;
+
FILL_METADATA_STR(ctx, title);
FILL_METADATA_STR(ctx, author);
FILL_METADATA_STR(ctx, copyright);