Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -614,7 +614,7 @@ void CWelsH264SVCEncoder::UpdateStatistics (SFrameBSInfo* pBsInfo, · 613 unmodified lines | ||
| 614 | 614 | } |
| 615 | 615 | //pStatistics->fLatestFrameRate = m_pEncContext->pWelsSvcRc->fLatestFrameRate; //TODO: finish the calculation in RC |
| 616 | 616 | //pStatistics->uiBitRate = m_pEncContext->pWelsSvcRc->iActualBitRate; //TODO: finish the calculation in RC |
| 617 | − pStatistics->uiAverageFrameQP = m_pEncContext->pWelsSvcRc->iAverageFrameQp; | |
| 617 | + pStatistics->uiAverageFrameQP = m_pEncContext->pWelsSvcRc[iDid].iAverageFrameQp; | |
| 618 | 618 | |
| 619 | 619 | if (videoFrameTypeIDR == eFrameType || videoFrameTypeI == eFrameType) { |
| 620 | 620 | pStatistics->uiIDRSentNum ++; |