1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavfilter
James Almer d9e3cb7e73 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>
2022-09-06 10:10:42 -03:00
..
2022-07-07 17:52:32 +02:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-02-20 12:38:52 +01:00
2022-09-03 15:18:56 +02:00
2022-03-07 15:29:39 +01:00
2022-03-16 14:05:26 +02:00
2022-09-03 15:18:56 +02:00
2022-04-23 10:58:29 +02:00