diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-18 22:51:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-18 22:57:20 +0200 |
commit | 0c152fe916e3f01ac075c6d86e4778e11f807042 (patch) | |
tree | a18f3e5b755009f49ca2d79406dda03eb62de43c /ffmpeg.c | |
parent | 5771efde87c17e1ecda4db32437d16d108c61be2 (diff) | |
download | ffmpeg-0c152fe916e3f01ac075c6d86e4778e11f807042.tar.gz |
ffmpeg: prefix encoder with "Lavc " in bitexact mode
This avoids misleading encoder names like "encoder = prores"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2394,6 +2394,8 @@ static void set_encoder_id(OutputFile *of, OutputStream *ost) if (!(format_flags & AVFMT_FLAG_BITEXACT) && !(codec_flags & CODEC_FLAG_BITEXACT)) av_strlcpy(encoder_string, LIBAVCODEC_IDENT " ", encoder_string_len); + else + av_strlcpy(encoder_string, "Lavc ", encoder_string_len); av_strlcat(encoder_string, ost->enc->name, encoder_string_len); av_dict_set(&ost->st->metadata, "encoder", encoder_string, AV_DICT_DONT_STRDUP_VAL | AV_DICT_DONT_OVERWRITE); |