fix pic partition bug
This commit is contained in:
parent
f305096f01
commit
6debb3460c
@ -2135,8 +2135,6 @@ int32_t PicPartitionNumDecision (sWelsEncCtx* pCtx) {
|
|||||||
int32_t iPartitionNum = 1;
|
int32_t iPartitionNum = 1;
|
||||||
if (pCtx->pSvcParam->iMultipleThreadIdc > 1) {
|
if (pCtx->pSvcParam->iMultipleThreadIdc > 1) {
|
||||||
iPartitionNum = pCtx->pSvcParam->iCountThreadsNum;
|
iPartitionNum = pCtx->pSvcParam->iCountThreadsNum;
|
||||||
if (P_SLICE == pCtx->eSliceType)
|
|
||||||
iPartitionNum = 1;
|
|
||||||
}
|
}
|
||||||
return iPartitionNum;
|
return iPartitionNum;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user