From 0c152fe916e3f01ac075c6d86e4778e11f807042 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 18 May 2014 22:51:27 +0200 Subject: ffmpeg: prefix encoder with "Lavc " in bitexact mode This avoids misleading encoder names like "encoder = prores" Signed-off-by: Michael Niedermayer --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 407f47ceb3..8cf9fa5988 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -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); -- cgit v1.2.3