mirror of https://github.com/FFmpeg/FFmpeg.git
When force_original_aspect_ratio and force_divisible_by are both used, dimensions are now rounded to the nearest allowed multiple of force_divisible_by rather than first rounding to the nearest integer and then rounding in a static direction. This results in less distortion of the aspect ratio. Reviewed-by: Thierry Foucu <tfoucu@google.com> Signed-off-by: Tristan Schmelcher <tschmelcher@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>pull/388/head
parent
543a46b4b2
commit
179830108d
2 changed files with 9 additions and 5 deletions
Loading…
Reference in new issue