From 6debb3460cb0fc075aa9a9139b53b5bfa994eca8 Mon Sep 17 00:00:00 2001 From: volvet Date: Thu, 3 Apr 2014 13:38:12 -0700 Subject: [PATCH] fix pic partition bug --- codec/encoder/core/src/encoder_ext.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/codec/encoder/core/src/encoder_ext.cpp b/codec/encoder/core/src/encoder_ext.cpp index 097e64e9..a6bf2005 100644 --- a/codec/encoder/core/src/encoder_ext.cpp +++ b/codec/encoder/core/src/encoder_ext.cpp @@ -2135,8 +2135,6 @@ int32_t PicPartitionNumDecision (sWelsEncCtx* pCtx) { int32_t iPartitionNum = 1; if (pCtx->pSvcParam->iMultipleThreadIdc > 1) { iPartitionNum = pCtx->pSvcParam->iCountThreadsNum; - if (P_SLICE == pCtx->eSliceType) - iPartitionNum = 1; } return iPartitionNum; }