aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_crop.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-12 19:16:28 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-12 19:16:28 +0200
commit9fa3b5b8a899535ffd6845c3cc26b98412af18a0 (patch)
tree001510cffbb6de28360b6ab6631e609eaccc11ca /libavfilter/vf_crop.c
parent1d86fe6970faad317ed1c337adfcf0c15ea16afe (diff)
downloadffmpeg-9fa3b5b8a899535ffd6845c3cc26b98412af18a0.tar.gz
lavfi/crop: log pos in debug message
Diffstat (limited to 'libavfilter/vf_crop.c')
-rw-r--r--libavfilter/vf_crop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index edfc98ffac..11ed375c48 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -277,9 +277,9 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame)
crop->x &= ~((1 << crop->hsub) - 1);
crop->y &= ~((1 << crop->vsub) - 1);
- av_dlog(ctx, "n:%d t:%f x:%d y:%d x+w:%d y+h:%d\n",
- (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->x,
- crop->y, crop->x+crop->w, crop->y+crop->h);
+ av_dlog(ctx, "n:%d t:%f pos:%f x:%d y:%d x+w:%d y+h:%d\n",
+ (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->var_values[VAR_POS],
+ crop->x, crop->y, crop->x+crop->w, crop->y+crop->h);
frame->data[0] += crop->y * frame->linesize[0];
frame->data[0] += crop->x * crop->max_step[0];