aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorRudolf Polzer <divVerent@xonotic.org>2013-11-02 11:57:25 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-02 21:16:29 +0100
commit3a14b160bd442794c6a16a6a883adb547550e847 (patch)
treee33243799e69e79eb14bc3dd7ef785e6bf09abac /doc/filters.texi
parent34a0ac41a880039c7fb4b3abce10d8e2ce48fac7 (diff)
downloadffmpeg-3a14b160bd442794c6a16a6a883adb547550e847.tar.gz
vf_scale: make the dar variable return the DAR.
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 <divverent@xonotic.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index afb48b1192..85c78b1d15 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}
+
@item hsub, vsub
horizontal and vertical chroma subsample values. For example for the
pixel format "yuv422p" @var{hsub} is 2 and @var{vsub} is 1.