ref: 643df65c585b87a980679fe4a3f1a30732c3feca
parent: f1b10e454db89fd624be84eab4bd98b3ba87f2cf
parent: a251504aa29ce23f3c4338f8aff50aa58a991946
author: HaiboZhu <[email protected]>
date: Mon Nov 9 04:53:28 EST 2015
Merge pull request #2212 from ruil2/rc2 remove an useless code line
--- a/codec/encoder/core/src/ratectl.cpp
+++ b/codec/encoder/core/src/ratectl.cpp
@@ -672,10 +672,6 @@
}
pSOverRc->iCalculatedQpSlice = WELS_CLIP3 (pSOverRc->iCalculatedQpSlice, pWelsSvcRc->iMinQp, pWelsSvcRc->iMaxQp);
- if (! (((pEncCtx->pSvcParam->iRCMode == RC_BITRATE_MODE) || (pEncCtx->pSvcParam->iRCMode == RC_TIMESTAMP_MODE))
- && (pEncCtx->pSvcParam->bEnableFrameSkip == false)))
- pSOverRc->iCalculatedQpSlice = WELS_CLIP3 (pSOverRc->iCalculatedQpSlice, pWelsSvcRc->iMinQp, pWelsSvcRc->iMaxQp);
-
pSOverRc->iGomBitsSlice = 0;
}