[FFmpeg-devel] [PATCH 2/2] avfilter/vf_tpad: accept hardware frames in clone-only mode

Thilo Borgmann thilo.borgmann at mail.de
Fri May 5 23:02:11 EEST 2023


Am 01.05.23 um 14:18 schrieb Marvin Scholz:
> When no drawing is to be performed, tpad can work fine with
> hardware frames, so advertise this in the query_formats
> callback and ensure the drawing context is never initialised
> when just cloning frames.
> ---
>   libavfilter/vf_tpad.c | 14 +++++++++++---
>   1 file changed, 11 insertions(+), 3 deletions(-)

LGTM if tested.

-Thilo



More information about the ffmpeg-devel mailing list