lavfi/hue: add verbose debug message showing initial parameters
authorStefano Sabatini <stefasab@gmail.com>
Thu, 16 Aug 2012 12:57:56 +0000 (14:57 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 16 Aug 2012 13:02:09 +0000 (15:02 +0200)
libavfilter/vf_hue.c

index 7c9f1df..807baf4 100644 (file)
@@ -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;
 }