]> git.sesse.net Git - ffmpeg/commit
vf_pad: center image on padded area if negative x/y
authorRicardo Constantino <wiiaboo@gmail.com>
Mon, 3 Apr 2017 18:34:09 +0000 (19:34 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 7 Apr 2017 20:35:06 +0000 (21:35 +0100)
commit57c3670896c69714ca1514728edf5ee48b2abcc9
tree26f36a9106da528cbf67a64f3323e1603a4146ca
parent3f8d7342c32c8b22ab177d62f5c7660db213e342
vf_pad: center image on padded area if negative x/y

or if x/y go beyond padded area.

This is mostly useful when paired with the aspect option.
Defaults aren't changed.

Idea for this was taken from mpv's soon-to-be-removed expand vf.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi
libavfilter/vf_pad.c