aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorAndrew Wason <rectalogic@rectalogic.com>2011-09-12 15:08:45 -0400
committerMichael Niedermayer <michaelni@gmx.at>2011-09-12 21:35:24 +0200
commit3eb1e65f5f69a73b9b59a10eefb57cff402207a4 (patch)
treec373dec12526e47ee5d803860cd19b2c34b7a7be /libavcodec/libx264.c
parent7009b965119dd8f68f21e7e32ff2c643993b6c06 (diff)
downloadffmpeg-3eb1e65f5f69a73b9b59a10eefb57cff402207a4.tar.gz
libx264: fix overwriting preset rc_lookahead
This fixes https://ffmpeg.org/trac/ffmpeg/ticket/448 - at least for rc_lookahead. A similar problem still exists for the flags2 based options.
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 4fd117f9ab..e1096bba17 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -584,6 +584,7 @@ static const AVCodecDefault x264_defaults[] = {
{ "qdiff", "-1" },
{ "qblur", "-1" },
{ "qcomp", "-1" },
+ { "rc_lookahead", "-1" },
{ "refs", "-1" },
{ "sc_threshold", "-1" },
{ "trellis", "-1" },