aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xbmenc.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-06-20 16:37:28 +0200
committerNiklas Haas <git@haasn.dev>2023-06-23 15:18:25 +0200
commit5fdb12d6a06016ee01022b96f271b7223976c3d8 (patch)
tree4ee1dd6b98b1fd1793763791cdd0dd5569e6f1e7 /libavcodec/xbmenc.c
parentffe4ec5c84f5e7f9cf358eb206f626ec5d437449 (diff)
downloadffmpeg-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 'libavcodec/xbmenc.c')
0 files changed, 0 insertions, 0 deletions