summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-10-30 04:08:17 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2017-10-30 21:32:26 +0100
commitf1251a6b9ccaac8a38d24398bbff156bf786717c (patch)
tree7b75ae4ab07b3eae0c96c2866222118e8a72fe99 /fftools
parent34542ac033f81601fd4dd684e993cc1716bb9a4d (diff)
ffmpeg: Fix stored encoder metadata with -bitexact
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index cabc6864e7..ade8df6abc 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3120,7 +3120,7 @@ static void set_encoder_id(OutputFile *of, OutputStream *ost)
uint8_t *encoder_string;
int encoder_string_len;
int format_flags = 0;
- int codec_flags = 0;
+ int codec_flags = ost->enc_ctx->flags;
if (av_dict_get(ost->st->metadata, "encoder", NULL, 0))
return;