[x265] [PATCH] Fix formatting in conformance-window-offsets in print statement

Priyadarsini Shanmugam priyadarsini.shanmugam at multicorewareinc.com
Fri Sep 27 03:31:28 UTC 2024


>From 2e20f0c59dc6f3409be8329b215a4811e6804385 Mon Sep 17 00:00:00 2001
From: Priyadarsini <priyadarsini.shanmugam at multicorewareinc.com>
Date: Thu, 26 Sep 2024 15:35:36 +0530
Subject: [PATCH] Fix formatting in conformance-window-offsets in print
 statement

---
 source/common/param.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/common/param.cpp b/source/common/param.cpp
index 6dbd5781a..d62b0361b 100755
--- a/source/common/param.cpp
+++ b/source/common/param.cpp
@@ -2396,7 +2396,7 @@ char *x265_param2string(x265_param* p, int padx, int
pady)
     s += sprintf(s, " scenecut-aware-qp=%d", p->bEnableSceneCutAwareQp);
     if (p->bEnableSceneCutAwareQp)
         s += sprintf(s, " fwd-scenecut-window=%d fwd-ref-qp-delta=%f
fwd-nonref-qp-delta=%f bwd-scenecut-window=%d bwd-ref-qp-delta=%f
bwd-nonref-qp-delta=%f", p->fwdMaxScenecutWindow, p->fwdRefQpDelta[0],
p->fwdNonRefQpDelta[0], p->bwdMaxScenecutWindow, p->bwdRefQpDelta[0],
p->bwdNonRefQpDelta[0]);
-    s += sprintf(s, "conformance-window-offsets right=%d bottom=%d",
p->confWinRightOffset, p->confWinBottomOffset);
+    s += sprintf(s, " conformance-window-offsets right=%d bottom=%d",
p->confWinRightOffset, p->confWinBottomOffset);
     s += sprintf(s, " decoder-max-rate=%d", p->decoderVbvMaxRate);
     BOOL(p->bliveVBV2pass, "vbv-live-multi-pass");
     if (p->filmGrain)
-- 
2.45.2.windows.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20240927/e3d58d85/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-formatting-in-conformance-window-offsets-in-prin.patch
Type: application/octet-stream
Size: 1393 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20240927/e3d58d85/attachment.obj>


More information about the x265-devel mailing list