<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 26, 2017 at 11:27 AM,  <span dir="ltr"><<a href="mailto:aruna@multicorewareinc.com" target="_blank">aruna@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com">aruna@multicorewareinc.com</a>><br>
# Date 1507551164 -19800<br>
#      Mon Oct 09 17:42:44 2017 +0530<br>
# Node ID ddf40c72e672b4106097facfaf26bf<wbr>32f0979b18<br>
# Parent  0e168bdeb48b3d57d896d3823e2efb<wbr>2bf69d4b26<br>
lowres: re-init plannedType<br></blockquote><div><br></div><div>Pushed to default branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 0e168bdeb48b -r ddf40c72e672 source/common/lowres.cpp<br>
--- a/source/common/lowres.cpp  Mon Oct 09 12:34:25 2017 +0530<br>
+++ b/source/common/lowres.cpp  Mon Oct 09 17:42:44 2017 +0530<br>
@@ -161,6 +161,10 @@<br>
     for (int i = 0; i < bframes + 2; i++)<br>
         intraMbs[i] = 0;<br>
<br>
+    if (origPic->m_param->rc.<wbr>vbvBufferSize)<br>
+        for (int i = 0; i < X265_LOOKAHEAD_MAX + 1; i++)<br>
+            plannedType[i] = X265_TYPE_AUTO;<br>
+<br>
     /* downscale and generate 4 hpel planes for lookahead */<br>
     primitives.frameInitLowres(<wbr>origPic->m_picOrg[0],<br>
                                lowresPlane[0], lowresPlane[1], lowresPlane[2], lowresPlane[3],<br>
<br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>