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