This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new c57660fb18 avfilter/vf_scale_cuda: fix non-scaling format conversion
c57660fb18 is described below

commit c57660fb18f058e8ead224e840b242d9c68fd3c4
Author:     Zhao Zhili <[email protected]>
AuthorDate: Wed Jul 8 19:31:30 2026 +0800
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Wed Jul 8 12:37:35 2026 +0000

    avfilter/vf_scale_cuda: fix non-scaling format conversion
    
    A format-only conversion leaves the auto use_filters value unresolved.
    Regression since 5d0748243f8.
    
    Fix issue #23737
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 libavfilter/vf_scale_cuda.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 409145c44f..240e40d43b 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -422,6 +422,8 @@ static av_cold int init_processing_chain(AVFilterContext 
*ctx, int in_width, int
             s->use_filters = 0;
         } else if (s->use_filters < 0 && (out_width < in_width || out_height < 
in_height))
             s->use_filters = 1; /* downscaling; needed for anti-aliasing */
+        else if (s->use_filters < 0)
+            s->use_filters = 0;
     }
 
     outl->hw_frames_ctx = av_buffer_ref(s->frames_ctx);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to