[FFmpeg-devel] [PATCH 7/8] avfilter/deband: use AV_OPT_TYPE_BOOL

Paul B Mahol onemda at gmail.com
Mon Sep 7 00:49:16 CEST 2015


Dana 6. 9. 2015. 19:48 osoba "Clément Bœsch" <u at pkh.me> napisala je:
>
> ---
>  libavfilter/vf_deband.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

LGTM

> diff --git a/libavfilter/vf_deband.c b/libavfilter/vf_deband.c
> index 5de3db1..f0485dd 100644
> --- a/libavfilter/vf_deband.c
> +++ b/libavfilter/vf_deband.c
> @@ -58,7 +58,7 @@ static const AVOption deband_options[] = {
>      { "r",         "set range",               OFFSET(range),
AV_OPT_TYPE_INT,   {.i64=16},    INT_MIN, INT_MAX, FLAGS },
>      { "direction", "set direction",           OFFSET(direction),
AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI,  2*M_PI, FLAGS },
>      { "d",         "set direction",           OFFSET(direction),
AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI,  2*M_PI, FLAGS },
> -    { "blur",      "enable blur",             OFFSET(blur),
 AV_OPT_TYPE_INT,   {.i64=1},           0,       1, FLAGS },
> +    { "blur",      "set blur",                OFFSET(blur),
 AV_OPT_TYPE_BOOL,  {.i64=1},           0,       1, FLAGS },
>      { NULL }
>  };
>
> --
> 2.5.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list