<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 26, 2017 at 5:56 PM, <span dir="ltr"><<a href="mailto:gopi.satykrishna@multicorewareinc.com" target="_blank">gopi.satykrishna@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 Gopi Satykrishna Akisetty <<a href="mailto:gopi.satykrishna@multicorewareinc.com">gopi.satykrishna@<wbr>multicorewareinc.com</a>><br>
# Date 1498468860 -19800<br>
# Mon Jun 26 14:51:00 2017 +0530<br>
# Node ID 81037290f79061cadb55bf59708e83<wbr>fbb6069193<br>
# Parent 5f2330bdb8fac45017b9ee643caa2e<wbr>db3f49e097<br>
Turn on repeat-headers whenever HDR related options are enabled<br></blockquote><div><br></div><div>Thanks. This enables our HDR streams to be compatible with the spec as SEI messages show up for every keyint.</div><div>Pushed into default branch.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
THe HDR SEI should always be repeated for every GOP. When it is repeated for<br>
every GOP, the decoder can find the information even if starts with random access<br>
<br>
diff -r 5f2330bdb8fa -r 81037290f790 source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp Fri Jun 23 14:49:50 2017 +0530<br>
+++ b/source/encoder/encoder.cpp Mon Jun 26 14:51:00 2017 +0530<br>
@@ -2650,6 +2650,16 @@<br>
p->bHDROpt = 0;<br>
}<br>
}<br>
+<br>
+ if (m_param->toneMapFile || p->bHDROpt || p->bEmitHDRSEI)<br>
+ {<br>
+ if (!p->bRepeatHeaders)<br>
+ {<br>
+ p->bRepeatHeaders = 1;<br>
+ x265_log(p, X265_LOG_WARNING, "Turning on repeat-headers for HDR compatibility\n");<br>
+ }<br>
+ }<br>
+<br>
p->maxLog2CUSize = g_log2Size[p->maxCUSize];<br>
p->maxCUDepth = p->maxLog2CUSize - g_log2Size[p->minCUSize];<br>
p->unitSizeDepth = p->maxLog2CUSize - LOG2_UNIT_SIZE;<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>