diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-05-30 22:41:56 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-05-30 22:41:56 +0400 |
commit | 33620e243fb6139f16c0772ea3d5c2d3148cba6c (patch) | |
tree | 20d5d12d56a229a933714f583e62b0299ca20452 /libavfilter/vf_vignette.c | |
parent | bfafcc4ebe633d23961a079b888e836d7d2154e6 (diff) |
lavfi/vignette: add some scaling debug.
Diffstat (limited to 'libavfilter/vf_vignette.c')
-rw-r--r-- | libavfilter/vf_vignette.c | 2 |
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)); |