[FFmpeg-devel] [PATCH 2/2] new option for drawtext (boxborderw = set box border width)
Clément Bœsch
u at pkh.me
Wed Feb 4 22:13:38 CET 2015
On Tue, Feb 03, 2015 at 09:01:30AM -0800, Liviu Oniciuc wrote:
> at this time the drawtext box extends only for the width and height
> of the text. for a better visual appearance a new option was added
> (boxboderw) to set how much the box should extend outside of the
boxborderw
> text area
>
> Signed-off-by: Liviu Oniciuc <klmno.dev at gmx.com>
> ---
> libavfilter/vf_drawtext.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> mode change 100644 => 100755 libavfilter/vf_drawtext.c
>
> diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
> old mode 100644
> new mode 100755
> index d20f805..138a32c
> --- a/libavfilter/vf_drawtext.c
> +++ b/libavfilter/vf_drawtext.c
> @@ -159,6 +159,7 @@ typedef struct DrawTextContext {
> unsigned int fontsize; ///< font size to use
>
> short int draw_box; ///< draw box around text - true or false
> + int boxborderw; ///< box border width
So is this related to an inside padding? Could we try to stick a bit with
the CSS vocabulary so people can get the meaning faster?
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150204/ecd65f2f/attachment.asc>
More information about the ffmpeg-devel
mailing list