aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-16 14:57:56 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-08-16 15:02:09 +0200
commit208d6e6615e3c2e09de5aab92745e13da86aa827 (patch)
treed6a1d6d4ff32a08d8a9a181f03e2e05c1eb65e98
parent5b0151a4743754542cd8843c2f056f224c77852f (diff)
downloadffmpeg-208d6e6615e3c2e09de5aab92745e13da86aa827.tar.gz
lavfi/hue: add verbose debug message showing initial parameters
-rw-r--r--libavfilter/vf_hue.c2
1 files changed, 2 insertions, 0 deletions
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;
}