mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
@ -118,6 +118,9 @@ void ff_metadata_mux_compat(AVFormatContext *ctx)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (ctx->metadata && ctx->metadata->count > 0)
|
||||||
|
return;
|
||||||
|
|
||||||
FILL_METADATA_STR(ctx, title);
|
FILL_METADATA_STR(ctx, title);
|
||||||
FILL_METADATA_STR(ctx, author);
|
FILL_METADATA_STR(ctx, author);
|
||||||
FILL_METADATA_STR(ctx, copyright);
|
FILL_METADATA_STR(ctx, copyright);
|
||||||
|
Loading…
Reference in New Issue
Block a user