Commit 027c682f authored by James Almer's avatar James Almer

avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 6ccd32c3
...@@ -134,7 +134,7 @@ static int config_props(AVFilterLink *inlink) ...@@ -134,7 +134,7 @@ static int config_props(AVFilterLink *inlink)
case MODE_EXTRA_SLOW: case MODE_EXTRA_SLOW:
enc_ctx->refs = 3; enc_ctx->refs = 3;
case MODE_SLOW: case MODE_SLOW:
enc_ctx->me_method = ME_ITER; av_dict_set(&opts, "motion_est", "iter", 0);
case MODE_MEDIUM: case MODE_MEDIUM:
enc_ctx->flags |= AV_CODEC_FLAG_4MV; enc_ctx->flags |= AV_CODEC_FLAG_4MV;
enc_ctx->dia_size = 2; enc_ctx->dia_size = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment