[FFmpeg-cvslog] lavfi/vignette: add some scaling debug.

Clément Bœsch git at videolan.org
Thu May 30 20:53:35 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu May 30 20:41:56 2013 +0200| [33620e243fb6139f16c0772ea3d5c2d3148cba6c] | committer: Clément Bœsch

lavfi/vignette: add some scaling debug.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33620e243fb6139f16c0772ea3d5c2d3148cba6c
---

 libavfilter/vf_vignette.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c
index 694d10f..f3af68d 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));



More information about the ffmpeg-cvslog mailing list