avfilter/drawtext - implement fix_bounds
authorGyan Doshi <gyandoshi at gmail.com>
Thu, 11 Jan 2018 13:00:16 +0000 (18:30 +0530)
committerKyle Swanson <k@ylo.ph>
Sun, 21 Jan 2018 00:30:56 +0000 (16:30 -0800)
commit6c1c6c6c71fc776c6dd25d13861b036dad2cdc1b
tree02e754b298b4b0c04470c829403ee3ffb8dfeefc
parent2eecf3cf8eeae67697934df326e98df2149881e5
avfilter/drawtext - implement fix_bounds

When enabled, text, including effects like shadow or box, will be
completely bound within the video frame.

Default value changed to false to keep continuity of behaviour.

Fixes #6960.

Signed-off-by: Kyle Swanson <k@ylo.ph>
libavfilter/vf_drawtext.c