Browse Source

lavfi/hue: add verbose debug message showing initial parameters

tags/n1.0
Stefano Sabatini 13 years ago
parent
commit
208d6e6615
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_hue.c

+ 2
- 0
libavfilter/vf_hue.c View 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;
}



Loading…
Cancel
Save