[SCM] libav/experimental: Add informative log message in the crop filter.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:19:23 UTC 2013
The following commit has been merged in the experimental branch:
commit 16d14d641c7b11638ce10562243caeaf8bfcadb2
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Tue Nov 23 21:08:22 2010 +0000
Add informative log message in the crop filter.
Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index 4e793c9..61019ef 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -200,6 +200,9 @@ static int config_input(AVFilterLink *link)
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,
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list