<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 2:55 PM, Mateusz Brzostek <span dir="ltr"><<a href="mailto:mateusz@msystem.waw.pl" target="_blank">mateusz@msystem.waw.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is missing enter in '--help' with dhdr10 (and it should be TOOLOPT instead of TOOLVAL).<br>
<br>
# HG changeset patch<br>
# User Ma0 <<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.pl</a>><br>
# Date 1492724724 -7200<br>
#      Thu Apr 20 23:45:24 2017 +0200<br>
# Node ID 36996838a99ff5fa75221fde6c3a91<wbr>d1b108d9d2<br>
# Parent  2c6e6c9c3da72aaddb33565d703191<wbr>8fb5a37097<br>
CLI: small fixes for dhdr10<br></blockquote><div><br></div><div>Pushed into stable branch and merged with default.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 2c6e6c9c3da7 -r 36996838a99f source/common/param.cpp<br>
--- a/source/common/param.cpp    Thu Apr 20 11:08:02 2017 +0530<br>
+++ b/source/common/param.cpp    Thu Apr 20 23:45:24 2017 +0200<br>
@@ -1474,7 +1474,7 @@<br>
     TOOLOPT(param->rc.bStatWrite, "stats-write");<br>
     TOOLOPT(param->rc.bStatRead,  "stats-read");<br>
 #if ENABLE_DYNAMIC_HDR10<br>
-    TOOLVAL(param->toneMapFile != NULL, "dhdr10-info");<br>
+    TOOLOPT(param->toneMapFile != NULL, "dhdr10-info");<br>
 #endif<br>
     x265_log(param, X265_LOG_INFO, "tools:%s\n", buf);<br>
     fflush(stderr);<br>
diff -r 2c6e6c9c3da7 -r 36996838a99f source/x265cli.h<br>
--- a/source/x265cli.h    Thu Apr 20 11:08:02 2017 +0530<br>
+++ b/source/x265cli.h    Thu Apr 20 23:45:24 2017 +0200<br>
@@ -317,8 +317,8 @@<br>
     H1("                                 2 - i422 (4:2:2)\n");<br>
     H1("                                 3 - i444 (4:4:4)\n");<br>
 #if ENABLE_DYNAMIC_HDR10<br>
-    H0("   --dhdr10-info <filename>      JSON file containing the Creative Intent Metadata to be encoded as Dynamic Tone Mapping \n");<br>
-    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR frames and when the tone mapping information changes. Default disabled");<br>
+    H0("   --dhdr10-info <filename>      JSON file containing the Creative Intent Metadata to be encoded as Dynamic Tone Mapping\n");<br>
+    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR frames and when the tone mapping information changes. Default disabled\n");<br>
 #endif<br>
     H0("-f/--frames <integer>            Maximum number of frames to encode. Default all\n");<br>
     H0("   --seek <integer>              First frame to encode\n");<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>