History

fix skip frames statistics issue

Karina committed 10 years ago

Commit 10dfb261 parent 22bec092 files · +2 −2Browse files

Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 2 files). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+1−1
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t