[FFmpeg-cvslog] avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method

James Almer git at videolan.org
Thu Aug 31 03:49:57 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Aug 28 13:40:06 2017 -0300| [027c682fa07999820a11cbcbf7a7ba9edbb9ecab] | committer: James Almer

avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=027c682fa07999820a11cbcbf7a7ba9edbb9ecab
---

 libavfilter/vf_mcdeint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
index d53322b40d..9cdec6308d 100644
--- a/libavfilter/vf_mcdeint.c
+++ b/libavfilter/vf_mcdeint.c
@@ -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;



More information about the ffmpeg-cvslog mailing list