avfilter/vf_dblur: allow radius < 1.0

release/6.0
Paul B Mahol 2 years ago
parent ba36e6ed52
commit 31c15a0880
  1. 2
      libavfilter/vf_dblur.c

@ -47,7 +47,7 @@ typedef struct DBlurContext {
static const AVOption dblur_options[] = { static const AVOption dblur_options[] = {
{ "angle", "set angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=45}, 0.0, 360, FLAGS }, { "angle", "set angle", OFFSET(angle), AV_OPT_TYPE_FLOAT, {.dbl=45}, 0.0, 360, FLAGS },
{ "radius", "set radius", OFFSET(radius), AV_OPT_TYPE_FLOAT, {.dbl=5}, 1, 8192, FLAGS }, { "radius", "set radius", OFFSET(radius), AV_OPT_TYPE_FLOAT, {.dbl=5}, 0, 8192, FLAGS },
{ "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS }, { "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS },
{ NULL } { NULL }
}; };

Loading…
Cancel
Save