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