[FFmpeg-cvslog] r25817 - trunk/libavfilter/vf_crop.c

stefano subversion
Tue Nov 23 22:08:23 CET 2010


Author: stefano
Date: Tue Nov 23 22:08:22 2010
New Revision: 25817

Log:
Add informative log message in the crop filter.

Modified:
   trunk/libavfilter/vf_crop.c

Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c	Tue Nov 23 21:42:03 2010	(r25816)
+++ trunk/libavfilter/vf_crop.c	Tue Nov 23 22:08:22 2010	(r25817)
@@ -200,6 +200,9 @@ static int config_input(AVFilterLink *li
                              NULL, NULL, NULL, NULL, 0, ctx)) < 0)
         return AVERROR(EINVAL);
 
+    av_log(ctx, AV_LOG_INFO, "w:%d h:%d -> w:%d h:%d\n",
+           link->w, link->h, crop->w, crop->h, crop->x, crop->y);
+
     if (crop->w <= 0 || crop->h <= 0 ||
         crop->w > link->w || crop->h > link->h) {
         av_log(ctx, AV_LOG_ERROR,



More information about the ffmpeg-cvslog mailing list