avfilter/drawtext: fix box sizing
authorGyan Doshi <ffmpeg@gyani.pro>
Tue, 10 Jul 2018 09:44:06 +0000 (15:14 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Fri, 13 Jul 2018 04:41:15 +0000 (10:11 +0530)
commit1a31c2b5df1179fdc1b8e84c8fa89d853e517309
treec37be5b0519faae3cfe6946d4cde3181471c654d
parentb0644f7f72a9ae64c7285d26ec720441c25d4cf5
avfilter/drawtext: fix box sizing

At present, box size is clipped to frame size before being drawn,
which can lead to the box not fully covering animated text which is
longer than one or both frame dimensions.

Since ff_blend_rectangle correctly takes care of clipping, it is skipped
here which results in correct box sizing
libavfilter/vf_drawtext.c