Skip to content
Snippets Groups Projects
Commit 9fa3b5b8 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

lavfi/crop: log pos in debug message

parent 1d86fe69
No related branches found
No related tags found
No related merge requests found
...@@ -277,9 +277,9 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame) ...@@ -277,9 +277,9 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame)
crop->x &= ~((1 << crop->hsub) - 1); crop->x &= ~((1 << crop->hsub) - 1);
crop->y &= ~((1 << crop->vsub) - 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", 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->x, (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->var_values[VAR_POS],
crop->y, crop->x+crop->w, crop->y+crop->h); crop->x, crop->y, crop->x+crop->w, crop->y+crop->h);
frame->data[0] += crop->y * frame->linesize[0]; frame->data[0] += crop->y * frame->linesize[0];
frame->data[0] += crop->x * crop->max_step[0]; frame->data[0] += crop->x * crop->max_step[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment