[x265] [PATCH] Fix condition check for single-sei

Ashok Kumar Mishra ashok at multicorewareinc.com
Tue Apr 3 10:52:51 CEST 2018


On Tue, Apr 3, 2018 at 2:11 PM, <santhoshini at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Santhoshini Sekar <santhoshini at multicorewareinc.com>
> # Date 1522744817 -19800
> #      Tue Apr 03 14:10:17 2018 +0530
> # Node ID 2d95d7ec545ef3d57e7a57ac484f27c81f7be0e5
> # Parent  2bbff45f761fdd9fb22495587640355432dc45bc
> Fix condition check for single-sei
>
> diff --git a/source/common/param.cpp b/source/common/param.cpp
> --- a/source/common/param.cpp
> +++ b/source/common/param.cpp
> @@ -1386,11 +1386,11 @@
>
>      bool isSingleSEI = ((param->bEmitHRDSEI || param->bEmitInfoSEI ||
> param->decodedPictureHashSEI ||
>                           param->masteringDisplayColorVolume ||
> param->maxCLL || param->maxFALL ||
> -                         param->bEmitHDRSEI ||
> param->bEmitIDRRecoverySEI) && param->bSingleSeiNal);
> -    if (!isSingleSEI)
> +                         param->bEmitHDRSEI ||
> param->bEmitIDRRecoverySEI));
> +    if (!isSingleSEI && param->bSingleSeiNal)
>      {
>          param->bSingleSeiNal = 0;
> -        x265_log(param, X265_LOG_WARNING, "None of the SEI messages are
> enabled. Diabling Single SEI NAL\n");
> +        x265_log(param, X265_LOG_WARNING, "None of the SEI messages are
> enabled. Disabling Single SEI NAL\n");
>      }
>      return check_failed;
>  }
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
Pushed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180403/2cbd03d8/attachment.html>


More information about the x265-devel mailing list