This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8fae1953954073e126fb2be4d5e50293695c41cb Author: Niklas Haas <[email protected]> AuthorDate: Wed Mar 18 12:00:08 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sat Mar 28 16:48:13 2026 +0000 swscale/ops: avoid printing values for ignored components Makes the list output a tiny bit tidier. This is cheap to support now thanks to the print_q4() helper. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/ops.c | 6 +++--- tests/ref/fate/sws-ops-list | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/ops.c b/libswscale/ops.c index 2f91ec7ae0..a845e102fe 100644 --- a/libswscale/ops.c +++ b/libswscale/ops.c @@ -814,7 +814,7 @@ void ff_sws_op_list_print(void *log, int lev, int lev_extra, break; case SWS_OP_CLEAR: av_bprintf(&bp, "%-20s: ", name); - print_q4(&bp, op->c.q4, true, NULL); + print_q4(&bp, op->c.q4, true, next->comps.unused); break; case SWS_OP_SWIZZLE: av_bprintf(&bp, "%-20s: %d%d%d%d", name, @@ -834,11 +834,11 @@ void ff_sws_op_list_print(void *log, int lev, int lev_extra, break; case SWS_OP_MIN: av_bprintf(&bp, "%-20s: x <= ", name); - print_q4(&bp, op->c.q4, true, NULL); + print_q4(&bp, op->c.q4, true, next->comps.unused); break; case SWS_OP_MAX: av_bprintf(&bp, "%-20s: ", name); - print_q4(&bp, op->c.q4, true, NULL); + print_q4(&bp, op->c.q4, true, next->comps.unused); av_bprintf(&bp, " <= x"); break; case SWS_OP_LINEAR: diff --git a/tests/ref/fate/sws-ops-list b/tests/ref/fate/sws-ops-list index 28ca16f094..4385d809e7 100644 --- a/tests/ref/fate/sws-ops-list +++ b/tests/ref/fate/sws-ops-list @@ -1 +1 @@ -ca5418b78a95b6b4eab07253f13ef731 +e5a6788fa43852d75544e7fb6ae7744d _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
