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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8cf1b3c131c5693ea63ff3c611a8235571cf3624
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Nov 7 21:31:06 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Nov 10 14:57:29 2026 +0000

    swscale/filters: add SwsFilterWeights.scaler
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/filters.c | 1 +
 libswscale/filters.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libswscale/filters.c b/libswscale/filters.c
index e1a3cfb91e..396543d305 100644
--- a/libswscale/filters.c
+++ b/libswscale/filters.c
@@ -284,6 +284,7 @@ int ff_sws_filter_generate(void *log, const SwsFilterParams 
*params,
     filter = av_refstruct_alloc_ext(sizeof(*filter), 0, NULL, sws_filter_free);
     if (!filter)
         return AVERROR(ENOMEM);
+    filter->scaler = scaler;
     memcpy(filter->name, fun.name, sizeof(filter->name));
     filter->src_size = params->src_size;
     filter->dst_size = params->dst_size;
diff --git a/libswscale/filters.h b/libswscale/filters.h
index b38cd34777..16ad2b5eea 100644
--- a/libswscale/filters.h
+++ b/libswscale/filters.h
@@ -108,6 +108,7 @@ typedef struct SwsFilterWeights {
     /**
      * Copy of the parameters used to generate this filter, for reference.
      */
+    SwsScaler scaler; /* SWS_SCALE_AUTO is resolved */
     int src_size;
     int dst_size;
     double virtual_size;

-- 
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]

Reply via email to