diff options
Diffstat (limited to 'video/filter/vf_gradfun.c')
-rw-r--r-- | video/filter/vf_gradfun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf_gradfun.c b/video/filter/vf_gradfun.c index 39dd050002..7c9a0ecab3 100644 --- a/video/filter/vf_gradfun.c +++ b/video/filter/vf_gradfun.c @@ -359,8 +359,8 @@ static void uninit(struct vf_instance *vf) static void lavfi_recreate(struct vf_instance *vf) { struct vf_priv_s *p = vf_lw_old_priv(vf); - int w = vf->fmt_in.params.w; - int h = vf->fmt_in.params.h; + int w = vf->fmt_in.w; + int h = vf->fmt_in.h; p->radius = p->cfg_radius; if (p->cfg_size > -1) p->radius = (p->cfg_size / 100.0f) * sqrtf(w * w + h * h); |