Showing the changes to codec/encoder/plus/src (1 of 2 files). Show all
Unified · Split
| @@ -574,7 +574,7 @@ void CWelsH264SVCEncoder::UpdateStatistics (SFrameBSInfo* pBsInfo, · 573 unmodified lines | ||
| 574 | 574 | int32_t iMaxDid = m_pEncContext->pSvcParam->iSpatialLayerNum - 1; |
| 575 | 575 | SLayerBSInfo* pLayerInfo = &pBsInfo->sLayerInfo[0]; |
| 576 | 576 | for (int32_t iDid = 0; iDid <= iMaxDid; iDid++) { |
| 577 | − EVideoFrameType eFrameType = videoFrameTypeInvalid; | |
| 577 | + EVideoFrameType eFrameType = pBsInfo->eFrameType; | |
| 578 | 578 | int32_t kiCurrentFrameSize = 0; |
| 579 | 579 | if (pBsInfo->eFrameType == videoFrameTypeSkip) { |
| 580 | 580 | eFrameType = videoFrameTypeSkip; |