mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08:00
swscale/ops: only print SWS_OP_SCALE denom if not 1
Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -1 +1 @@
|
||||
a872c7d917c532ba92397c1410f04388
|
||||
a2ed0581163448a2c398ee9992e8eaf6
|
||||
|
||||
Reference in New Issue
Block a user