forked from FFmpeg/FFmpeg
don't trigger metadata compatibility code when user app already set metadata
using new API Originally committed as revision 17608 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e34a5996b9
commit
ed118841ea
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue