[FFmpeg-cvslog] ffmpeg: Fix stored encoder metadata with -bitexact

Michael Niedermayer git at videolan.org
Mon Oct 30 22:36:22 EET 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Oct 30 04:08:17 2017 +0100| [f1251a6b9ccaac8a38d24398bbff156bf786717c] | committer: Michael Niedermayer

ffmpeg: Fix stored encoder metadata with -bitexact

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1251a6b9ccaac8a38d24398bbff156bf786717c
---

 fftools/ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list