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

pooja at multicorewareinc.com pooja at multicorewareinc.com
Wed May 15 07:11:16 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

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 &&
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190515/d512ee15/attachment.bin>


More information about the x265-devel mailing list