[FFmpeg-devel] [PATCH 4/4] avcodec/libx265: disable openGOP by default

James Almer jamrial at gmail.com
Mon Dec 30 21:20:09 EET 2019


This is in line with the behavior of libx264.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/libx265.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index a97bf19e91..7049a3144a 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -671,6 +671,7 @@ static const AVCodecDefault x265_defaults[] = {
     { "qcomp", "-1" },
     { "i_qfactor", "-1" },
     { "b_qfactor", "-1" },
+    { "flags", "+cgop" },
     { NULL },
 };
 
-- 
2.24.1



More information about the ffmpeg-devel mailing list