854
847
(int)dtext->var_values[VAR_N], dtext->var_values[VAR_T],
855
848
dtext->x, dtext->y, dtext->x+dtext->w, dtext->y+dtext->h);
872
draw_text(inlink->dst, picref, picref->video->w, picref->video->h);
851
draw_text(inlink->dst, frame, frame->video->w, frame->video->h);
874
853
dtext->var_values[VAR_N] += 1.0;
876
if ((ret = ff_draw_slice(outlink, 0, picref->video->h, 1)) < 0 ||
882
858
static const AVFilterPad avfilter_vf_drawtext_inputs[] = {