[x265] [PATCH] rc: Don't do resetABR in CRF

santhoshini at multicorewareinc.com santhoshini at multicorewareinc.com
Tue Feb 11 11:26:20 CET 2014


# HG changeset patch
# User Santhoshini Sekar <santhoshini at multicorewareinc.com>
# Date 1392114358 -19800
#      Tue Feb 11 15:55:58 2014 +0530
# Node ID 94381009cca155f54f90e235fccd318f8cf411c5
# Parent  49ef320ebb35713beca0ae1da8b928b8dc806343
rc: Don't do resetABR in CRF.

diff -r 49ef320ebb35 -r 94381009cca1 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp	Tue Feb 11 15:50:33 2014 +0530
+++ b/source/encoder/ratecontrol.cpp	Tue Feb 11 15:55:58 2014 +0530
@@ -808,7 +808,7 @@
 {
     if (isAbr)
     {
-        if (!isVbv)
+        if (!isVbv && cfg->param.rc.rateControlMode == X265_RC_ABR)
         {
             checkAndResetABR(rce);
         }


More information about the x265-devel mailing list