<div dir="ltr"><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 5:34 PM Vittorio Giovara <<a href="mailto:vittorio.giovara@gmail.com">vittorio.giovara@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Some devices render out-of-luminance pixels incorrectly otherwise.</div><div><br></div><div>---</div><div> source/encoder/encoder.cpp | 11 +++++++----</div><div> 1 file changed, 7 insertions(+), 4 deletions(-)</div><div><br></div><div>diff -r fd517ae68f93 source/encoder/encoder.cpp<br>--- a/source/encoder/encoder.cpp Tue Sep 25 16:02:31 2018 +0530<br>+++ b/source/encoder/encoder.cpp Thu Nov 01 17:27:51 2018 -0400<br>@@ -2381,10 +2381,13 @@<br> <br> if (m_param->bEmitHDRSEI)<br> {<br>- SEIContentLightLevel cllsei;<br>- cllsei.max_content_light_level = m_param->maxCLL;<br>- cllsei.max_pic_average_light_level = m_param->maxFALL;<br>- cllsei.writeSEImessages(bs, m_sps, NAL_UNIT_PREFIX_SEI, list, m_param->bSingleSeiNal);<br>+ if (m_emitCLLSEI)<br>+ {<br>+ SEIContentLightLevel cllsei;<br>+ cllsei.max_content_light_level = m_param->maxCLL;<br>+ cllsei.max_pic_average_light_level = m_param->maxFALL;<br>+ cllsei.writeSEImessages(bs, m_sps, NAL_UNIT_PREFIX_SEI, list, m_param->bSingleSeiNal);<br>+ }<br> <br> if (m_param->masteringDisplayColorVolume)<br> {<br>-- <br><div dir="ltr" class="m_9040303071021880316gmail_signature">Vittorio</div></div></div></div>
</blockquote></div><br clear="all"></div>ping<br><div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Vittorio</div></div></div></div>