aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-05-30 20:41:56 +0200
committerClément Bœsch <ubitux@gmail.com>2013-05-30 20:41:56 +0200
commit33620e243fb6139f16c0772ea3d5c2d3148cba6c (patch)
tree20d5d12d56a229a933714f583e62b0299ca20452
parentbfafcc4ebe633d23961a079b888e836d7d2154e6 (diff)
downloadffmpeg-33620e243fb6139f16c0772ea3d5c2d3148cba6c.tar.gz
lavfi/vignette: add some scaling debug.
-rw-r--r--libavfilter/vf_vignette.c2
1 files changed, 2 insertions, 0 deletions
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));