[FFmpeg-cvslog] libx264: change default to closed gop to match x264cli

John Van Sickle git at videolan.org
Tue Sep 25 15:19:14 CEST 2012


ffmpeg | branch: master | John Van Sickle <john.vansickle at gmail.com> | Sat Sep 22 14:41:16 2012 -0400| [a716006a7d6371a8f124be49d7ce59bcc28f9e53] | committer: Anton Khirnov

libx264: change default to closed gop to match x264cli

open-gop can be enabled with "-flags -cgop"

Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

 libavcodec/libx264.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 0db8594..6f68e8f 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -559,6 +559,7 @@ static const AVCodecDefault x264_defaults[] = {
     { "cmp",              "-1" },
     { "threads",          AV_STRINGIFY(X264_THREADS_AUTO) },
     { "thread_type",      "0" },
+    { "flags",            "+cgop" },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list