Files
ffmpeg/libavfilter
James Almer 068faf4f74 avfilter/vf_scale: overwrite the width and height expressions with the original values
Instead of the potentially adjusted ones. Otherwise, if config_props() is
called again and if using force_original_aspect_ratio, the already adjusted
values could be altered again.

Example command line
scale=size=1920x1000:force_original_aspect_ratio=decrease:force_divisible_by=2

user value 1920x1000 -> 1920x798 on init_dict() -> 1918x798 on frame
change when eval_mode == EVAL_MODE_INIT, which after e645a1ddb9 could be at the
very first frame.

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit d9e3cb7e73)
2022-09-07 20:37:54 -03:00
..
2021-04-19 14:34:10 +02:00
2021-11-11 21:54:46 +01:00
2021-12-25 11:32:41 +01:00
2021-12-25 11:32:41 +01:00
2021-01-17 12:06:01 +01:00
2021-01-17 12:06:01 +01:00
2021-09-30 01:22:48 +02:00
2021-07-22 14:47:57 +02:00
2021-09-19 04:26:00 +02:00
2021-04-11 23:18:20 +08:00
2021-10-23 23:53:51 +02:00
2021-11-11 21:54:46 +01:00
2021-11-11 21:54:46 +01:00
2022-01-14 16:34:01 +01:00