Commit ed118841 authored by Aurelien Jacobs's avatar Aurelien Jacobs

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
parent e34a5996
......@@ -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