Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4097,7 +4097,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 4096 unmodified lines | ||
| 4097 | 4097 | |
| 4098 | 4098 | pCtx->pFuncList->pfRc.pfWelsRcPictureInfoUpdate (pCtx, iLayerSize); |
| 4099 | 4099 | RcTraceFrameBits (pCtx, pSrcPic->uiTimeStamp); |
| 4100 | − pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc->iAverageFrameQp; | |
| 4100 | + pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc[iDidIdx].iAverageFrameQp; | |
| 4101 | 4101 | |
| 4102 | 4102 | //update scc related |
| 4103 | 4103 | pCtx->pFuncList->pfUpdateFMESwitch (pCtx->pCurDqLayer); |