diff options
author | Niklas Haas <git@haasn.dev> | 2023-06-20 16:37:28 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-06-23 15:18:25 +0200 |
commit | 5fdb12d6a06016ee01022b96f271b7223976c3d8 (patch) | |
tree | 4ee1dd6b98b1fd1793763791cdd0dd5569e6f1e7 /doc/developer.texi | |
parent | ffe4ec5c84f5e7f9cf358eb206f626ec5d437449 (diff) | |
download | ffmpeg-5fdb12d6a06016ee01022b96f271b7223976c3d8.tar.gz |
lavfi/vf_libplacebo: simplify SAR normalization
The old logic was trying to be excessively clever in "deducing" that the
user wanted to stretch/scale the image when ow/oh differed from iw/ih
aspect ratio. But this is almost surely unintended except in
pathological cases, and in those cases users should simply disable
normalize_sar and do all the stretching/scaling logic themselves. This
is especially important in multi-input mode, where the canvas may be
vastly different from the input dimensions of any stream. Also, passing
through input 0 SAR in multi-input mode is arbitrary and nearly useless,
so again force output SAR to 1:1 here.
Diffstat (limited to 'doc/developer.texi')
0 files changed, 0 insertions, 0 deletions