<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 9:12 AM, <span dir="ltr"><<a href="mailto:santhoshini@multicorewareinc.com" target="_blank">santhoshini@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 Santhoshini Sekar <<a href="mailto:santhoshini@multicorewareinc.com">santhoshini@multicorewareinc.<wbr>com</a>><br>
# Date 1513827586 -19800<br>
# Thu Dec 21 09:09:46 2017 +0530<br>
# Node ID 61d829f6d823b14242022a40737f24<wbr>53865e8937<br>
# Parent 32a2cd5926ed3bc64fc5665f3ecc20<wbr>e9b371cee2<br>
warn out saying that limitTU=3 or 4 with AVCINFO produces inconsistent output.<br>
Set mincusize to 8 when it is not 8 for MVtype=AVCINFO as AVCINFO expects so<br>
<br>
diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp<br>
+++ b/source/encoder/encoder.cpp<br>
@@ -2449,6 +2449,18 @@<br>
this->m_externalFlush = true;<br>
else<br>
this->m_externalFlush = false;<br>
+<br>
+ if (p->bMVType == AVC_INFO && (p->limitTU == 3 || p->limitTU == 4))<br>
+ {<br>
+ x265_log(p, X265_LOG_WARNING, "limit TU = 3 or 4 with MVType AVCINFO produces inconsistent output\n");<br>
+ }<br>
+<br>
+ if (p->bMVType == AVC_INFO && p->minCUSize != 8)<br>
+ {<br>
+ p->minCUSize = 8;<br>
+ x265_log(p, X265_LOG_WARNING, "Setting minCuSize = 8, AVCINFO expects 8x8 blocks\n");<br>
+ }<br>
+<br>
if (p->keyframeMax < 0)<br>
{<br>
/* A negative max GOP size indicates the user wants only one I frame at<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 class="gmail_extra">Pushed.</div></div>