From 9e7543361cb87d2a5275b3e80a25cfe931720dd9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 19 Jun 2012 13:29:26 +0000 Subject: lavfi/color: use AVOptions Signed-off-by: Paul B Mahol --- doc/filters.texi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 50cd72ec09..566fbfcd73 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3419,24 +3419,28 @@ cellauto=p='@@@@ @@ @@@@':s=100x400:full=0:rule=18 Provide an uniformly colored input. -It accepts the following parameters: -@var{color}:@var{frame_size}:@var{frame_rate} +This source accepts list of options in the form of +@var{key}=@var{value} pairs separated by ":". + +Alternatively, it accepts a string in the form +@var{color}:@var{size}:@var{rate}, but this syntax is +deprecated. Follows the description of the accepted parameters. @table @option -@item color +@item color, c Specify the color of the source. It can be the name of a color (case insensitive match) or a 0xRRGGBB[AA] sequence, possibly followed by an alpha specifier. The default value is "black". -@item frame_size +@item size, s Specify the size of the sourced video, it may be a string of the form @var{width}x@var{height}, or the name of a size abbreviation. The default value is "320x240". -@item frame_rate +@item rate, r Specify the frame rate of the sourced video, as the number of frames generated per second. It has to be a string in the format @var{frame_rate_num}/@var{frame_rate_den}, an integer number, a float @@ -3451,7 +3455,7 @@ frames per second, which will be overlayed over the source connected to the pad with identifier "in". @example -"color=red@@0.2:qcif:10 [color]; [in][color] overlay [out]" +"color=c=red@@0.2:s=qcif:r=10 [color]; [in][color] overlay [out]" @end example @section movie -- cgit v1.2.3