This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit f54f34e2b8c0921eca335842f719c85a8096e42d Author: Timo Rothenpieler <[email protected]> AuthorDate: Fri Aug 14 22:56:20 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Wed Sep 30 18:30:03 2026 +0000 avfilter/vf_scale_cuda: skip allocating intermediate texture if not needed (cherry picked from commit 3d7ea1dac4007b4897ad00991268bbdb51816743) Assisted-by: Fairy --- libavfilter/vf_scale_cuda.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c index ca0619d8b3..552d01e112 100644 --- a/libavfilter/vf_scale_cuda.c +++ b/libavfilter/vf_scale_cuda.c @@ -667,9 +667,11 @@ static av_cold int cudascale_setup_filters(AVFilterContext *ctx) } } - ret = inter_buf_init(ctx, outlink->w, inlink->h); - if (ret < 0) - goto fail; + if (s->pass_x == FILTER_TMP) { + ret = inter_buf_init(ctx, outlink->w, inlink->h); + if (ret < 0) + goto fail; + } ret = 0; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
