Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2135,8 +2135,6 @@ int32_t PicPartitionNumDecision (sWelsEncCtx* pCtx) { · 2134 unmodified lines | ||
| 2135 | 2135 | int32_t iPartitionNum = 1; |
| 2136 | 2136 | if (pCtx->pSvcParam->iMultipleThreadIdc > 1) { |
| 2137 | 2137 | iPartitionNum = pCtx->pSvcParam->iCountThreadsNum; |
| 2138 | − if (P_SLICE == pCtx->eSliceType) | |
| 2139 | − iPartitionNum = 1; | |
| 2140 | 2138 | } |
| 2141 | 2139 | return iPartitionNum; |
| 2142 | 2140 | } |