summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/vf_mpdecimate.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index 5c41de7992..429121d33d 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -84,15 +84,21 @@ static int diff_planes(AVFilterContext *ctx,
for (x = 8; x < w-7; x += 4) {
d = decimate->sad(cur + y*cur_linesize + x, cur_linesize,
ref + y*ref_linesize + x, ref_linesize);
- if (d > decimate->hi)
+ if (d > decimate->hi) {
+ av_log(ctx, AV_LOG_DEBUG, "%d>=hi ", d);
return 1;
+ }
if (d > decimate->lo) {
c++;
- if (c > t)
+ if (c > t) {
+ av_log(ctx, AV_LOG_DEBUG, "lo:%d>=%d ", c, t);
return 1;
+ }
}
}
}
+
+ av_log(ctx, AV_LOG_DEBUG, "lo:%d<%d ", c, t);
return 0;
}