Commit be2bbc52 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg_opt: dont copy "encoder" metadata unless stream copy is used

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b2a8bc3d
......@@ -2067,6 +2067,8 @@ loop_end:
continue;
ist = input_streams[output_streams[i]->source_index];
av_dict_copy(&output_streams[i]->st->metadata, ist->st->metadata, AV_DICT_DONT_OVERWRITE);
if (!output_streams[i]->stream_copy)
av_dict_set(&output_streams[i]->st->metadata, "encoder", NULL, 0);
}
/* process manually set metadata */
......
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