avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method

Signed-off-by: James Almer <jamrial@gmail.com>
pull/269/head
James Almer 7 years ago
parent 6ccd32c367
commit 027c682fa0
  1. 2
      libavfilter/vf_mcdeint.c

@ -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;

Loading…
Cancel
Save