<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 5:38 PM,  <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 1517404033 -19800<br>
#      Wed Jan 31 18:37:13 2018 +0530<br>
# Branch stable<br>
# Node ID e793f0e12e2c6c8473ce738d241c66<wbr>be126d6919<br>
# Parent  68b17aa887aa9daaa6dcb62161ab29<wbr>f52b7dfe70<br>
slicetype: fix hanging issue due to dropping of BREF frames<br>
<br>
While forcing slicetypes through qp file, few BREF frames were not copied into<br>
lookahead's output queue due to incorrect check condition.<br>
<br>
diff -r 68b17aa887aa -r e793f0e12e2c source/encoder/slicetype.cpp<br>
--- a/source/encoder/slicetype.cpp      Sat Jan 27 18:45:21 2018 +0530<br>
+++ b/source/encoder/slicetype.cpp      Wed Jan 31 18:37:13 2018 +0530<br>
@@ -1204,7 +1204,7 @@<br>
     m_outputQueue.pushBack(*list[<wbr>bframes]);<br>
<br>
     /* Add B-ref frame next to P frame in output queue, the B-ref encode before non B-ref frame */<br>
-    if (bframes > 1 && m_param->bBPyramid)<br>
+    if (brefs)<br>
     {<br>
         for (int i = 0; i < bframes; i++)<br>
         {<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">Thanks. Pushed to default.</div></div>