mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 13:32:10 +00:00
avfilter/scale_vt: implement negative width/height aspect ratio sizing
Signed-off-by: Koushik Dutta <koushd@gmail.com> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
7104818066
commit
352333543c
@ -189,6 +189,8 @@ static int scale_vt_config_output(AVFilterLink *outlink)
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
ff_scale_adjust_dimensions(inlink, &s->output_width, &s->output_height, 0, 1);
|
||||
|
||||
outlink->w = s->output_width;
|
||||
outlink->h = s->output_height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user