<div dir="ltr">pushed to master and Release_3.5 branches <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 5, 2023 at 9:27 PM Karam Singh <<a href="mailto:karam.singh@multicorewareinc.com">karam.singh@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">From 15858b64b635f446b3a5567b83dd7d3cba8a8523 Mon Sep 17 00:00:00 2001<br>From: Karam Singh <<a href="mailto:karam.singh@multicorewareinc.com" target="_blank">karam.singh@multicorewareinc.com</a>><br>Date: Thu, 4 May 2023 16:22:03 +0530<br>Subject: [PATCH] Fix-2 Extra IDR issue in zonefile for live case<br><br>---<br> source/encoder/slicetype.cpp | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/source/encoder/slicetype.cpp b/source/encoder/slicetype.cpp<br>index 2cfb39620..509ebd9d6 100644<br>--- a/source/encoder/slicetype.cpp<br>+++ b/source/encoder/slicetype.cpp<br>@@ -1958,7 +1958,7 @@ void Lookahead::slicetypeAnalyse(Lowres **frames, bool bKeyframe)<br>             nextZoneStart += (i + 1 < m_param->rc.zonefileCount) ? m_param->rc.zones[i + 1].startFrame + m_param->rc.zones[i + 1].zoneParam->radl : m_param->totalFrames;<br>             if (curZoneStart <= frames[0]->frameNum && nextZoneStart > frames[0]->frameNum)<br>                 m_param->keyframeMax = nextZoneStart - curZoneStart;<br>-            if ((i + 1 == m_param->rc.zonefileCount) && nextZoneStart == 0)<br>+            if (m_param->rc.zones[m_param->rc.zonefileCount - 1].startFrame <= frames[0]->frameNum && nextZoneStart == 0)<br>                 m_param->keyframeMax = m_param->rc.zones[0].keyframeMax;<br>         }<br>     }<br>-- <br>2.36.0.windows.1<br><br><br><div><div dir="ltr"><div dir="ltr"><div>Karam Singh</div>Senior Video Codec Engineer<div>MulticoreWare, India</div></div></div></div></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>