This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 3d7ea1dac4007b4897ad00991268bbdb51816743 Author: Timo Rothenpieler <[email protected]> AuthorDate: Fri Aug 14 22:56:20 2026 +0200 Commit: Timo Rothenpieler <[email protected]> CommitDate: Thu Aug 20 12:09:22 2026 +0000 avfilter/vf_scale_cuda: skip allocating intermediate texture if not needed --- 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 95ecde2774..2c22ec1aa4 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]
