[x265] [PATCH] zone: Fix reconfiguration of RC param

Dinesh Kumar Reddy dinesh at multicorewareinc.com
Thu May 16 11:00:01 CEST 2019


# HG changeset patch
# User Pooja Venkatesan <pooja at multicorewareinc.com>
# Date 1553576501 -19800
#      Tue Mar 26 10:31:41 2019 +0530
# Node ID 39b35ea862834f05e7437e1670e55de595c8f875
# Parent  4217e691387cdeb6569846d5942422fec3126528
zone: Fix reconfiguration of RC param

Pushed to x265 default Branch.

Thanks & Regards,
Dinesh

On Wed, May 15, 2019 at 10:41 AM <pooja at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Pooja Venkatesan <pooja at multicorewareinc.com>
> # Date 1553576501 -19800
> #      Tue Mar 26 10:31:41 2019 +0530
> # Node ID 39b35ea862834f05e7437e1670e55de595c8f875
> # Parent  4217e691387cdeb6569846d5942422fec3126528
> zone: Fix reconfiguration of RC param
>
> diff -r 4217e691387c -r 39b35ea86283 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp        Mon May 06 15:54:01 2019 +0530
> +++ b/source/encoder/encoder.cpp        Tue Mar 26 10:31:41 2019 +0530
> @@ -1641,7 +1641,7 @@
>
>  int Encoder::reconfigureParam(x265_param* encParam, x265_param* param)
>  {
> -    if (isReconfigureRc(encParam, param))
> +    if (isReconfigureRc(encParam, param) && !param->rc.zonefileCount)
>      {
>          /* VBV can't be turned ON if it wasn't ON to begin with and can't
> be turned OFF if it was ON to begin with*/
>          if (param->rc.vbvMaxBitrate > 0 && param->rc.vbvBufferSize > 0 &&
> _______________________________________________
> 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/20190516/168a837e/attachment.html>


More information about the x265-devel mailing list