avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-08-28 13:40:06 -03:00
parent 6ccd32c367
commit 027c682fa0
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ static int config_props(AVFilterLink *inlink)
case MODE_EXTRA_SLOW:
enc_ctx->refs = 3;
case MODE_SLOW:
enc_ctx->me_method = ME_ITER;
av_dict_set(&opts, "motion_est", "iter", 0);
case MODE_MEDIUM:
enc_ctx->flags |= AV_CODEC_FLAG_4MV;
enc_ctx->dia_size = 2;