summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavcodec/x264.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavcodec/x264.c')
-rw-r--r--contrib/ffmpeg/libavcodec/x264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/ffmpeg/libavcodec/x264.c b/contrib/ffmpeg/libavcodec/x264.c
index b08678779..c9df820f5 100644
--- a/contrib/ffmpeg/libavcodec/x264.c
+++ b/contrib/ffmpeg/libavcodec/x264.c
@@ -225,6 +225,7 @@ X264_init(AVCodecContext *avctx)
x4->params.analyse.i_me_range = avctx->me_range;
x4->params.analyse.i_subpel_refine = avctx->me_subpel_quality;
+ x4->params.analyse.b_bidir_me = (avctx->bidir_refine > 0);
x4->params.analyse.b_bframe_rdo = (avctx->flags2 & CODEC_FLAG2_BRDO);
x4->params.analyse.b_mixed_references =
(avctx->flags2 & CODEC_FLAG2_MIXED_REFS);