On Sat, Apr 11, 2015 at 6:04 PM, Luca Barbato <[email protected]> wrote:
> And document both `draw` and `alpha`.
> ---
> doc/filters.texi | 11 +++++++++++
> libavfilter/vf_drawtext.c | 48
> +++++++++++++++++++++++++++++++++++++----------
> 2 files changed, 49 insertions(+), 10 deletions(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 28e3292..e36f9a2 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -1209,6 +1209,17 @@ The timestamp, expressed in seconds. It's NAN if the
> input timestamp is unknown.
>
> The default value of @var{x} and @var{y} is 0.
>
> +@item draw
> +Draw the text only if the expression evaluates as non-zero.
> +The expression accepts the same variables @var{x, y} do.
> +The default value is 1.
> +
> +@item alpha
> +Draw the text applying alpha blending. The value can
> +be either a number between 0.0 and 1.0
s/either//
> +The expression accepts the same variables @var{x, y} do.
> +The default value is 1.
> +
> @item fontsize
> The font size to be used for drawing text.
> The default value of @var{fontsize} is 16.
seems fine
--
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel