[FFmpeg-cvslog] lavfi/hue: add verbose debug message showing initial parameters

Stefano Sabatini git at videolan.org
Thu Aug 16 15:03:55 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Aug 16 14:57:56 2012 +0200| [208d6e6615e3c2e09de5aab92745e13da86aa827] | committer: Stefano Sabatini

lavfi/hue: add verbose debug message showing initial parameters

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

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

diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 7c9f1df..807baf4 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;
 }
 



More information about the ffmpeg-cvslog mailing list