Commit 6cbbef31 authored by aurel's avatar aurel

don't trigger metadata compatibility code when user app already set metadata

using new API


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