There is missing enter in '--help' with dhdr10 (and it should be TOOLOPT 
instead of TOOLVAL).

# HG changeset patch
# User Ma0 <mateu...@poczta.onet.pl>
# Date 1492724724 -7200
#      Thu Apr 20 23:45:24 2017 +0200
# Node ID 36996838a99ff5fa75221fde6c3a91d1b108d9d2
# Parent  2c6e6c9c3da72aaddb33565d7031918fb5a37097
CLI: small fixes for dhdr10

diff -r 2c6e6c9c3da7 -r 36996838a99f source/common/param.cpp
--- a/source/common/param.cpp    Thu Apr 20 11:08:02 2017 +0530
+++ b/source/common/param.cpp    Thu Apr 20 23:45:24 2017 +0200
@@ -1474,7 +1474,7 @@
     TOOLOPT(param->rc.bStatWrite, "stats-write");
     TOOLOPT(param->rc.bStatRead,  "stats-read");
 #if ENABLE_DYNAMIC_HDR10
-    TOOLVAL(param->toneMapFile != NULL, "dhdr10-info");
+    TOOLOPT(param->toneMapFile != NULL, "dhdr10-info");
 #endif
     x265_log(param, X265_LOG_INFO, "tools:%s\n", buf);
     fflush(stderr);
diff -r 2c6e6c9c3da7 -r 36996838a99f source/x265cli.h
--- a/source/x265cli.h    Thu Apr 20 11:08:02 2017 +0530
+++ b/source/x265cli.h    Thu Apr 20 23:45:24 2017 +0200
@@ -317,8 +317,8 @@
     H1("                                 2 - i422 (4:2:2)\n");
     H1("                                 3 - i444 (4:4:4)\n");
 #if ENABLE_DYNAMIC_HDR10
-    H0("   --dhdr10-info <filename>      JSON file containing the Creative 
Intent Metadata to be encoded as Dynamic Tone Mapping \n");
-    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR 
frames and when the tone mapping information changes. Default disabled");
+    H0("   --dhdr10-info <filename>      JSON file containing the Creative 
Intent Metadata to be encoded as Dynamic Tone Mapping\n");
+    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR 
frames and when the tone mapping information changes. Default disabled\n");
 #endif
     H0("-f/--frames <integer>            Maximum number of frames to encode. 
Default all\n");
     H0("   --seek <integer>              First frame to encode\n");

# HG changeset patch
# User Ma0 <mateu...@poczta.onet.pl>
# Date 1492724724 -7200
#      Thu Apr 20 23:45:24 2017 +0200
# Node ID 36996838a99ff5fa75221fde6c3a91d1b108d9d2
# Parent  2c6e6c9c3da72aaddb33565d7031918fb5a37097
CLI: small fixes for dhdr10

diff -r 2c6e6c9c3da7 -r 36996838a99f source/common/param.cpp
--- a/source/common/param.cpp   Thu Apr 20 11:08:02 2017 +0530
+++ b/source/common/param.cpp   Thu Apr 20 23:45:24 2017 +0200
@@ -1474,7 +1474,7 @@
     TOOLOPT(param->rc.bStatWrite, "stats-write");
     TOOLOPT(param->rc.bStatRead,  "stats-read");
 #if ENABLE_DYNAMIC_HDR10
-    TOOLVAL(param->toneMapFile != NULL, "dhdr10-info");
+    TOOLOPT(param->toneMapFile != NULL, "dhdr10-info");
 #endif
     x265_log(param, X265_LOG_INFO, "tools:%s\n", buf);
     fflush(stderr);
diff -r 2c6e6c9c3da7 -r 36996838a99f source/x265cli.h
--- a/source/x265cli.h  Thu Apr 20 11:08:02 2017 +0530
+++ b/source/x265cli.h  Thu Apr 20 23:45:24 2017 +0200
@@ -317,8 +317,8 @@
     H1("                                 2 - i422 (4:2:2)\n");
     H1("                                 3 - i444 (4:4:4)\n");
 #if ENABLE_DYNAMIC_HDR10
-    H0("   --dhdr10-info <filename>      JSON file containing the Creative 
Intent Metadata to be encoded as Dynamic Tone Mapping \n");
-    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR 
frames and when the tone mapping information changes. Default disabled");
+    H0("   --dhdr10-info <filename>      JSON file containing the Creative 
Intent Metadata to be encoded as Dynamic Tone Mapping\n");
+    H0("   --[no-]dhdr10-opt             Insert tone mapping SEI only for IDR 
frames and when the tone mapping information changes. Default disabled\n");
 #endif
     H0("-f/--frames <integer>            Maximum number of frames to encode. 
Default all\n");
     H0("   --seek <integer>              First frame to encode\n");
_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to