All filters now use av_strtod for accepting floating point parameters. There was an isolated remark on this, but the point applies generally now.
This moves the comment and suitably elaborates on it for additional clarity. A link to the code for av_strtod is also provided for the user's benefit. Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- doc/filters.texi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 15ea77a..0a20531 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -45,7 +45,11 @@ lower half the output generated by the @var{crop,vflip} filterchain. Some filters take in input a list of parameters: they are specified after the filter name and an equal sign, and are separated from each other -by a colon. +by a colon. Floating point parameters may all accept an optional IS postfix, +e.g 'K', 'M', 'G' for Kilo, Mega, Giga. If 'i' is appended after the postfix, +powers of 2 are used instead of powers of 10. The 'B' postfix multiplies the +value by 8, and can be appended after another postfix or used alone. See also +@code{av_strtod}. There exist so-called @var{source filters} that do not have an audio/video input, and @var{sink filters} that will not have audio/video @@ -14371,9 +14375,7 @@ format is guessed from @var{movie_name} or by probing. @item seek_point, sp Specifies the seek point in seconds. The frames will be output -starting from this seek point. The parameter is evaluated with -@code{av_strtod}, so the numerical value may be suffixed by an IS -postfix. The default value is "0". +starting from this seek point. The default value is "0". @item streams, s Specifies the streams to read. Several streams can be specified, -- 2.6.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel