From a716006a7d6371a8f124be49d7ce59bcc28f9e53 Mon Sep 17 00:00:00 2001 From: John Van Sickle Date: Sat, 22 Sep 2012 14:41:16 -0400 Subject: libx264: change default to closed gop to match x264cli open-gop can be enabled with "-flags -cgop" Signed-off-by: Anton Khirnov --- libavcodec/libx264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 0db859419f..6f68e8f8fe 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 }, }; -- cgit v1.2.3