aboutsummaryrefslogtreecommitdiffstats
path: root/tools/normalize.py
diff options
context:
space:
mode:
authorKevin Mark <kmark937@gmail.com>2017-06-12 01:59:05 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2017-06-19 14:24:55 -0400
commit5aea18cbd8828da885d76d528fcbf5b2fd6834ca (patch)
tree4a75c99fb7a980cd91868e4ecdeca2f14704d24b /tools/normalize.py
parentc7a2a379fd0517f5c7d716ecf468f935fe4802de (diff)
downloadffmpeg-5aea18cbd8828da885d76d528fcbf5b2fd6834ca.tar.gz
doc/filters: Correct scale doc regarding w/h <= 0
According to libavfilter/scale.c, if the width and height are both less than or equal to 0 then the input size is used for both dimensions. It does not need to be -1. -1:-1 is the same as 0:0 which is the same as -10:-42, etc. if (w < 0 && h < 0) eval_w = eval_h = 0; The documentation for the zscale filter has also been updated since the behavior is identical. Signed-off-by: Kevin Mark <kmark937@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'tools/normalize.py')
0 files changed, 0 insertions, 0 deletions