Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -3453,7 +3453,7 @@ EVideoFrameType PrepareEncodeFrame (sWelsEncCtx* pCtx, SLayerBSInfo*& pLayerBsIn · 3452 unmodified lines | ||
| 3453 | 3453 | SWelsSvcCodingParam* pSvcParam = pCtx->pSvcParam; |
| 3454 | 3454 | SSpatialPicIndex* pSpatialIndexMap = &pCtx->sSpatialIndexMap[0]; |
| 3455 | 3455 | |
| 3456 | − bool bSkipFrameFlag = WelsRcCheckFrameStatus (pCtx,uiTimeStamp,iSpatialNum); | |
| 3456 | + bool bSkipFrameFlag = WelsRcCheckFrameStatus (pCtx,uiTimeStamp,iSpatialNum,iCurDid); | |
| 3457 | 3457 | EVideoFrameType eFrameType = DecideFrameType (pCtx, iSpatialNum, iCurDid, bSkipFrameFlag); |
| 3458 | 3458 | |
| 3459 | 3459 | if (eFrameType == videoFrameTypeSkip) { |