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 31855b2a70 swscale/ops_optimizer: mark split scaling intermediates 
progressive
31855b2a70 is described below

commit 31855b2a7051d07a370984f5e4029826db06be1d
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Oct 24 23:27:03 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Oct 25 10:11:09 2026 +0000

    swscale/ops_optimizer: mark split scaling intermediates progressive
    
    Interlaced cascaded scaling otherwise skips every second line.
    Technically, setting the field to FIELD_TOP here is unnecessary, but it
    can't hurt to be explicit.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_optimizer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/ops_optimizer.c b/libswscale/ops_optimizer.c
index 83b69f29ab..731dffbf02 100644
--- a/libswscale/ops_optimizer.c
+++ b/libswscale/ops_optimizer.c
@@ -1201,6 +1201,8 @@ int ff_sws_op_list_split_at(SwsOpList *ops1, SwsOpList 
**out_ops2, int index)
     const SwsPixelType type = ff_sws_op_input_type(op);
     ops2->src.format = get_planar_fmt(type, nb_planes);
     ops2->src.desc = av_pix_fmt_desc_get(ops2->src.format);
+    ops2->src.field = FIELD_TOP;
+    ops2->src.interlaced = 0;
     get_input_size(ops1, &ops2->src);
     ops1->dst = ops2->src;
 

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