Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -3000,7 +3000,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 2999 unmodified lines | ||
| 3000 | 3000 | pFbi->iLayerNum = 0; // for initialization |
| 3001 | 3001 | |
| 3002 | 3002 | // perform csc/denoise/downsample/padding, generate spatial layers |
| 3003 | − iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, &pSrcPic, 1); | |
| 3003 | + iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, pSrcPic); | |
| 3004 | 3004 | if (iSpatialNum < 1) { // skip due to temporal layer settings (different frame rate) |
| 3005 | 3005 | ++ pCtx->iCodingIndex; |
| 3006 | 3006 | pFbi->eOutputFrameType = WELS_FRAME_TYPE_SKIP; |