[x265] [PATCH] CLI: small fixes for dhdr10

Pradeep Ramachandran pradeep at multicorewareinc.com
Tue May 2 23:10:47 CEST 2017


On Thu, Apr 20, 2017 at 2:55 PM, Mateusz Brzostek <mateusz at msystem.waw.pl>
wrote:

> There is missing enter in '--help' with dhdr10 (and it should be TOOLOPT
> instead of TOOLVAL).
>
> # HG changeset patch
> # User Ma0 <mateuszb at poczta.onet.pl>
> # Date 1492724724 -7200
> #      Thu Apr 20 23:45:24 2017 +0200
> # Node ID 36996838a99ff5fa75221fde6c3a91d1b108d9d2
> # Parent  2c6e6c9c3da72aaddb33565d7031918fb5a37097
> CLI: small fixes for dhdr10
>

Pushed into stable branch and merged with default.


>
> 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 at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170502/0a927073/attachment.html>


More information about the x265-devel mailing list