[FFmpeg-devel] [PATCH 1/2] avfilter/vf_tpad: fix check for drawing initialization

Anton Khirnov anton at khirnov.net
Thu Nov 9 12:11:20 EET 2023


Quoting Marvin Scholz (2023-11-07 23:21:17)
> The check if drawing needs to be initialized and supported formats
> should be drawable ones was flawed, as pad_stop/pad_start is only
> populated from stop_duration/start_duration after these checks.
> 
> To fix that, check the _duration variants as well and for better
> readability and maintainability break the check out into its own
> helper.
> 
> Fixes a regression from 86b252ea9dee18006910e30646ad1067f2d1323f
> Fix #10621
> ---
>  libavfilter/vf_tpad.c | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)

Set pushed

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list