Re: [FFmpeg-devel] vf_drawtext: add force_boxw_equl_textw option

2017-02-13 Thread Steven Liu
2017-02-14 15:02 GMT+08:00 su.gao : > Add this option to force the box width equl text width: > > diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c > index 0b94725..5b16cfa 100644 > --- a/libavfilter/vf_drawtext.c > +++ b/libavfilter/vf_drawtext.c > @@ -164,6 +164,7 @@ typedef st

[FFmpeg-devel] vf_drawtext: add force_boxw_equl_textw option

2017-02-13 Thread su.gao
Add this option to force the box width equl text width: diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 0b94725..5b16cfa 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -164,6 +164,7 @@ typedef struct DrawTextContext { int use_kerning;