On Mon, Aug 28, 2017 at 02:18:53PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamr...@gmail.com>
> ---
> Depends on patch "avcodec/snowenc: fix setting motion_est option"
> 
>  libavfilter/vf_mcdeint.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
> index 26387b84e7..f07e1a0d60 100644
> --- a/libavfilter/vf_mcdeint.c
> +++ b/libavfilter/vf_mcdeint.c
> @@ -52,6 +52,7 @@
>  #include "libavutil/opt.h"
>  #include "libavutil/pixdesc.h"
>  #include "libavcodec/avcodec.h"
> +#include "libavcodec/snow.h"
>  #include "avfilter.h"
>  #include "formats.h"
>  #include "internal.h"
> @@ -134,7 +135,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", AV_STRINGIFY(FF_ME_ITER), 0);

"iter" doesnt work instead of AV_STRINGIFY(FF_ME_ITER) ?

either way LGTM if tested

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to