diff options
author | Niklas Haas <git@haasn.dev> | 2025-06-16 19:41:23 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-06-20 15:13:25 +0200 |
commit | c0698840c41ced3f2fd0ff4070fd4294e6164dd6 (patch) | |
tree | e7e13054643b7b2a503ea8dbb0b92a89c26e4928 /libavformat/tls_openssl.c | |
parent | f883b7cf93ed56fbd54e285f6c5f27241ee195f2 (diff) | |
download | ffmpeg-c0698840c41ced3f2fd0ff4070fd4294e6164dd6.tar.gz |
avfilter/vf_libplacebo: correctly update SAR to reflect scaled result
This aligns the behavior of vf_libplacebo with other filters in the
vf_scale family, that forward any change in the SAR as a result of
changing the output resolution to the output frame / link, and updates
the ff_scale_adjust_dimensions() call to continue working as intended.
The new behavior reflects the documentation of vf_libplacebo, which
described this behavior despite that not being the way the filter worked
up to this point.
As an aside, also fixes a bug where the AVFrame SAR was inconsistent
with the AVFilterLink SAR when the s->nb_inputs > 1 condition was met.
Diffstat (limited to 'libavformat/tls_openssl.c')
0 files changed, 0 insertions, 0 deletions