From 208d6e6615e3c2e09de5aab92745e13da86aa827 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 16 Aug 2012 14:57:56 +0200 Subject: [PATCH] lavfi/hue: add verbose debug message showing initial parameters --- libavfilter/vf_hue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index 7c9f1df31f..807baf4568 100644 --- a/libavfilter/vf_hue.c +++ b/libavfilter/vf_hue.c @@ -110,6 +110,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args) /* Convert angle from degrees to radians */ hue->hue = hue->hue_deg * M_PI / 180; + av_log(ctx, AV_LOG_VERBOSE, "hue:%f*PI hue_deg:%f saturation:%f\n", + hue->hue/M_PI, hue->hue*180/M_PI, hue->saturation); return 0; }