[libav-commits] libx264: change default to closed gop to match x264cli

John Van Sickle git at libav.org
Mon Sep 24 19:23:21 CEST 2012


Module: libav
Branch: master
Commit: a716006a7d6371a8f124be49d7ce59bcc28f9e53

Author:    John Van Sickle <john.vansickle at gmail.com>
Committer: Anton Khirnov <anton at khirnov.net>
Date:      Sat Sep 22 14:41:16 2012 -0400

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>

---

 libavcodec/libx264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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 libav-commits mailing list