This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 584952257ae6ec130966b1760a2928fedb016fa8 Author: Niklas Haas <[email protected]> AuthorDate: Fri Jun 26 17:24:36 2026 +0200 Commit: Marvin Scholz <[email protected]> CommitDate: Mon Jun 29 15:57:01 2026 +0200 avfilter/vf_scale_cuda: fix inverted downscaling check Signed-off-by: Niklas Haas <[email protected]> (cherry-picked from commit 6baf5613036fd7d838c41e85f94d7c7ad7aaf1da) Signed-off-by: Marvin Scholz <[email protected]> --- libavfilter/vf_scale_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c index 61177b5859..dd1f534e55 100644 --- a/libavfilter/vf_scale_cuda.c +++ b/libavfilter/vf_scale_cuda.c @@ -420,7 +420,7 @@ static av_cold int init_processing_chain(AVFilterContext *ctx, int in_width, int if (s->interp_algo == INTERP_ALGO_NEAREST) { s->use_filters = 0; - } else if (s->use_filters < 0 && (in_width < out_width || in_height < out_height)) + } else if (s->use_filters < 0 && (out_width < in_width || out_height < in_height)) s->use_filters = 1; /* downscaling; needed for anti-aliasing */ } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
