Merge pull request #761 from sijchen/md_merge31

[Encoder MD] Adjust MD under Screen Content route
This commit is contained in:
ruil2 2014-05-04 14:25:10 +08:00
commit 30687f4647

View File

@ -2423,7 +2423,7 @@ void PreprocessSliceCoding (sWelsEncCtx* pCtx) {
SWelsFuncPtrList* pFuncList = pCtx->pFuncList;
/* function pointers conditional assignment under sWelsEncCtx, layer_mb_enc_rec (in stack) is exclusive */
if (kbHighestSpatialLayer) {
if (kbHighestSpatialLayer && pCtx->pSvcParam->iUsageType == CAMERA_VIDEO_REAL_TIME) {
SetFastCodingFunc (pFuncList);
} else {
SetNormalCodingFunc (pFuncList);