From 33620e243fb6139f16c0772ea3d5c2d3148cba6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 30 May 2013 20:41:56 +0200 Subject: [PATCH] lavfi/vignette: add some scaling debug. --- libavfilter/vf_vignette.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c index 694d10f627..f3af68d802 100644 --- a/libavfilter/vf_vignette.c +++ b/libavfilter/vf_vignette.c @@ -288,6 +288,8 @@ static int config_props(AVFilterLink *inlink) s->xscale = 1; } s->dmax = hypot(inlink->w / 2., inlink->h / 2.); + av_log(s, AV_LOG_DEBUG, "xscale=%f yscale=%f dmax=%f\n", + s->xscale, s->yscale, s->dmax); s->fmap_linesize = FFALIGN(inlink->w, 32); s->fmap = av_malloc(s->fmap_linesize * inlink->h * sizeof(*s->fmap));