Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 26 files). Show all
Unified · Split
| @@ -169,9 +169,8 @@ void RcInitSequenceParameter (sWelsEncCtx* pEncCtx) { · 168 unmodified lines | ||
| 169 | 169 | |
| 170 | 170 | RcInitLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign, 1 + pEncCtx->pSvcParam->sDependencyLayers[j].iHighestTemporalId); |
| 171 | 171 | |
| 172 | − bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceCfg.uiSliceMode) || | |
| 173 | − (SM_ROWMB_SLICE == pDLayerParam->sSliceCfg.uiSliceMode) || | |
| 174 | − (SM_DYN_SLICE == pDLayerParam->sSliceCfg.uiSliceMode)); | |
| 172 | + bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceArgument.uiSliceMode) || | |
| 173 | + (SM_SIZELIMITED_SLICE == pDLayerParam->sSliceArgument.uiSliceMode)); | |
| 175 | 174 | if (bMultiSliceMode) |
| 176 | 175 | pWelsSvcRc->iNumberMbGom = pWelsSvcRc->iNumberMbFrame; |
| 177 | 176 | } |