[FFmpeg-devel] [PATCH 3/3] doc/filters: move scattered remark on av_strtod to a common location
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Thu Nov 5 15:20:25 CET 2015
On Sun, Nov 1, 2015 at 11:57 AM, Ganesh Ajjanagadde
<gajjanagadde at gmail.com> wrote:
> 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 <gajjanagadde at 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
> + at 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
> - at 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
>
ping
More information about the ffmpeg-devel
mailing list