>From 3e71cb2d706e73a39624ddf321cb744d212f8a97 Mon Sep 17 00:00:00 2001 From: Kirithika <[email protected]> Date: Wed, 10 Jan 2024 12:36:00 +0530 Subject: [PATCH] Fix min VBV fullness configuration
---
source/encoder/ratecontrol.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/encoder/ratecontrol.cpp b/source/encoder/ratecontrol.cpp
index 08327c52d..ad748313d 100644
--- a/source/encoder/ratecontrol.cpp
+++ b/source/encoder/ratecontrol.cpp
@@ -2419,7 +2419,7 @@ double RateControl::clipQscale(Frame* curFrame,
RateControlEntry* rce, double q)
{
finalDur = x265_clip3(0.4, 1.0, totalDuration);
}
- targetFill = X265_MIN(m_bufferFill + totalDuration *
m_vbvMaxRate * 0.5, m_bufferSize * (1 - m_minBufferFill * finalDur));
+ targetFill = X265_MIN(m_bufferFill + totalDuration *
m_vbvMaxRate * 0.5, m_bufferSize * (m_minBufferFill * finalDur));
if (bufferFillCur < targetFill)
{
q *= 1.01;
--
2.28.0.windows.1
*Thanks,*
*Kirithika*
x265-bug-fix-patch2.diff
Description: Binary data
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
