This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e8f6c9dbf2949cbeefbbc2fb2925353092c48b3d Author: Niklas Haas <[email protected]> AuthorDate: Sat Mar 28 17:49:46 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sun Mar 29 09:39:09 2026 +0000 swscale/ops: only print SWS_OP_SCALE denom if not 1 Signed-off-by: Niklas Haas <[email protected]> --- libswscale/ops.c | 4 +++- tests/ref/fate/sws-ops-list | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libswscale/ops.c b/libswscale/ops.c index 0a2a991833..d86d8b0239 100644 --- a/libswscale/ops.c +++ b/libswscale/ops.c @@ -878,7 +878,9 @@ void ff_sws_op_desc(AVBPrint *bp, const SwsOp *op) av_bprintf(bp, "]"); break; case SWS_OP_SCALE: - av_bprintf(bp, "%-20s: * %d/%d", name, op->c.q.num, op->c.q.den); + av_bprintf(bp, "%-20s: * %d", name, op->c.q.num); + if (op->c.q.den != 1) + av_bprintf(bp, "/%d", op->c.q.den); break; case SWS_OP_FILTER_H: case SWS_OP_FILTER_V: { diff --git a/tests/ref/fate/sws-ops-list b/tests/ref/fate/sws-ops-list index 159dbbba2a..f24c95f388 100644 --- a/tests/ref/fate/sws-ops-list +++ b/tests/ref/fate/sws-ops-list @@ -1 +1 @@ -a872c7d917c532ba92397c1410f04388 +a2ed0581163448a2c398ee9992e8eaf6 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
