<div dir="ltr"><div style="color:rgb(0,0,0);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div>From 888cebaee5ca1d003234ce92225f018e4ab1689e Mon Sep 17 00:00:00 2001</div><div>From: yaswanthsastry <<a href="mailto:yaswanth.sastry@multicorewareinc.com">yaswanth.sastry@multicorewareinc.com</a>></div><div>Date: Wed, 26 Apr 2023 15:29:31 +0530</div><div>Subject: [PATCH] Reflect Zonefile Parameters inside Lookahead.</div><br><div>---</div><div> source/encoder/slicetype.cpp | 8 ++++++++</div><div> 1 file changed, 8 insertions(+)</div><br><div><span style="color:rgb(0,0,128)">diff --git a/source/encoder/slicetype.cpp b/source/encoder/slicetype.cpp</span></div><div>index 550cc1872..450f998f6 100644</div><div><span style="color:rgb(0,0,128)">--- a/source/encoder/slicetype.cpp</span></div><div><span style="color:rgb(0,0,128)">+++ b/source/encoder/slicetype.cpp</span></div><div>@@ -1466,6 +1466,14 @@ void Lookahead::slicetypeDecide()</div><div> </div><div>         Frame *curFrame = m_inputQueue.first();</div><div>         int j;</div><div><span style="color:rgb(9,134,88)">+       if (m_param->bResetZoneConfig)</span></div><div><span style="color:rgb(9,134,88)">+       {</span></div><div><span style="color:rgb(9,134,88)">+           for (int i = 0; i < m_param->rc.zonefileCount; i++)</span></div><div><span style="color:rgb(9,134,88)">+           {</span></div><div><span style="color:rgb(9,134,88)">+               if (m_param->rc.zones[i].startFrame == curFrame->m_poc)</span></div><div><span style="color:rgb(9,134,88)">+                   m_param = m_param->rc.zones[i].zoneParam;</span></div><div><span style="color:rgb(9,134,88)">+           }</span></div><div><span style="color:rgb(9,134,88)">+       }</span></div><div>         for (j = 0; j < m_param->bframes + 2; j++)</div><div>         {</div><div>             if (!curFrame) break;</div><div><span style="color:rgb(163,21,21)">-- </span></div><div>2.37.3.windows.1</div><br><br></div></div>