Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 5 files). Show all
Unified · Split
| @@ -273,11 +273,6 @@ void InitFrameCoding (sWelsEncCtx* pEncCtx, const EFrameType keFrameType) { · 272 unmodified lines | ||
| 273 | 273 | #if defined(STAT_OUTPUT) |
| 274 | 274 | memset (&pEncCtx->sPerInfo, 0, sizeof (SStatSliceInfo)); |
| 275 | 275 | #endif//FRAME_INFO_OUTPUT |
| 276 | − | |
| 277 | −#if defined(MT_ENABLED) && defined(PACKING_ONE_SLICE_PER_LAYER) | |
| 278 | − if (pEncCtx->pSvcParam->iMultipleThreadIdc > 1) | |
| 279 | − reset_env_mt (pEncCtx); | |
| 280 | −#endif | |
| 281 | 276 | } |
| 282 | 277 | |
| 283 | 278 | EFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum) { |