On Fri,  1 Nov 2013 09:45:15 +0100, [email protected] wrote:
> From: Rudolf Polzer <[email protected]>
> 
> Before, it just returned width/height. Correct is width/height*sar.
> 
> That way it is consistent with DAR as in probe output and setdar.
> 
> Signed-off-by: Rudolf Polzer <[email protected]>
> ---
>  doc/filters.texi       |    7 +++++--
>  libavfilter/vf_scale.c |    3 ++-
>  2 files changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index afb48b1..85c78b1 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -1856,12 +1856,15 @@ the output (cropped) width and height
>  @item ow, oh
>  same as @var{out_w} and @var{out_h}
>  
> -@item dar, a
> -input display aspect ratio, same as @var{iw} / @var{ih}
> +@item a
> +same as @var{iw} / @var{ih}
>  
>  @item sar
>  input sample aspect ratio
>  
> +@item dar
> +input display aspect ratio, it is the same as (@var{iw} / @var{ih}) * 
> @var{sar}
> +

Given that the previous behavior was documented (even if inconsistent and evil),
I'd say it warrants a micro version bump and perhaps even a changelog entry.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to