[x265] [PATCH] Reconfigure csvfpt if encoder param is null

Pradeep Ramachandran pradeep at multicorewareinc.com
Tue Jan 2 12:13:35 CET 2018


On Tue, Jan 2, 2018 at 12:22 PM, <aasaipriya at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Aasaipriya Chandran <aasaipriya at multicorewareinc.com>
> # Date 1514381756 -19800
> #      Wed Dec 27 19:05:56 2017 +0530
> # Branch stable
> # Node ID 4303e6796c9fab8cd7a986acb8669bb3e0227d07
> # Parent  2e684b80d90fac3d674fbbcd4b41572e4337b736
> Reconfigure csvfpt if encoder param is null
>

Pushed to stable branch and merged with default.


>
> diff -r 2e684b80d90f -r 4303e6796c9f source/encoder/api.cpp
> --- a/source/encoder/api.cpp    Thu Dec 07 10:59:12 2017 +0530
> +++ b/source/encoder/api.cpp    Wed Dec 27 19:05:56 2017 +0530
> @@ -195,6 +195,8 @@
>
>      x265_param save;
>      Encoder* encoder = static_cast<Encoder*>(enc);
> +    if (encoder->m_param->csvfn == NULL && param_in->csvfpt != NULL)
> +         encoder->m_param->csvfpt = param_in->csvfpt;
>      if (encoder->m_latestParam->forceFlush != param_in->forceFlush)
>          return encoder->reconfigureParam(encoder->m_latestParam,
> param_in);
>      bool isReconfigureRc = encoder->isReconfigureRc(encoder->m_latestParam,
> param_in);
> _______________________________________________
> 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/20180102/0bdcaeee/attachment.html>


More information about the x265-devel mailing list