Change #236825
Category | ffmpeg |
Changed by | Niklas Haas <git | @haasn.dev>
Changed at | Mon 16 Jun 2025 20:44:52 |
Repository | https://git.ffmpeg.org/ffmpeg.git |
Project | ffmpeg |
Branch | master |
Revision | 04ceabe2ba4cafa9ebd663409795c0398bf89063 |
Comments
avfilter/vf_scale: set correct AVFrame SAR if reset_sar=1 This otherwise generates an inconsistency between the frame state and the link state, since the link state is set to 1:1 explicitly when `reset_sar` is enabled, but this line of code unconditionally overwrote the output frame SAR with the value that would be computed in the absence of `reset_sar`. cf. vf_scale_cuda, which does this correctly
Changed files
- libavfilter/vf_scale.c