Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4202,7 +4202,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 4201 unmodified lines | |||
| 4202 | if ((pCtx->iActiveThreadsNum > 1) && (MAX_NAL_UNITS_IN_LAYER < pFbi->sLayerInfo[k].iNalCount)) { | 4202 | if ((pCtx->iActiveThreadsNum > 1) && (MAX_NAL_UNITS_IN_LAYER < pFbi->sLayerInfo[k].iNalCount)) { |
| 4203 | WelsLog (& pCtx->sLogCtx, WELS_LOG_ERROR, | 4203 | WelsLog (& pCtx->sLogCtx, WELS_LOG_ERROR, |
| 4204 | "WelsEncoderEncodeExt(), iCountNumNals(%d) > MAX_NAL_UNITS_IN_LAYER(%d) under multi-thread(%d) NOT supported!", | 4204 | "WelsEncoderEncodeExt(), iCountNumNals(%d) > MAX_NAL_UNITS_IN_LAYER(%d) under multi-thread(%d) NOT supported!", |
| 4205 | pFbi->sLayerInfo[k].iNalCount, MAX_NAL_UNITS_IN_LAYER), pCtx->iActiveThreadsNum; | 4205 | pFbi->sLayerInfo[k].iNalCount, MAX_NAL_UNITS_IN_LAYER, pCtx->iActiveThreadsNum); |
| 4206 | return ENC_RETURN_UNEXPECTED; | 4206 | return ENC_RETURN_UNEXPECTED; |
| 4207 | } | 4207 | } |
| 4208 | } | 4208 | } |