aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorJohn Van Sickle2012-09-22 14:41:16 -0400
committerAnton Khirnov2012-09-24 19:23:03 +0200
commita716006a7d6371a8f124be49d7ce59bcc28f9e53 (patch)
tree44e1430603b00039fc43b666f9debeb7dabb9378 /libavcodec/libx264.c
parent11d1ca4b2c406bee2d22b04268a43b0873096c92 (diff)
libx264: change default to closed gop to match x264cli
open-gop can be enabled with "-flags -cgop" Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c1
1 files changed, 1 insertions, 0 deletions
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 },
};