Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -91,6 +91,11 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) { · 90 unmodified lines | |||
| 91 | pCfg->iSpatialLayerNum); | 91 | pCfg->iSpatialLayerNum); |
| 92 | return ENC_RETURN_UNSUPPORTED_PARA; | 92 | return ENC_RETURN_UNSUPPORTED_PARA; |
| 93 | } | 93 | } |
| 94 | if (pCfg->bEnableAdaptiveQuant) { | ||
| 95 | WelsLog (pLogCtx, WELS_LOG_WARNING, "ParamValidation(), AdaptiveQuant(%d) is not supported yet for screen content, auto turned off\n", | ||
| 96 | pCfg->bEnableAdaptiveQuant); | ||
| 97 | pCfg->bEnableAdaptiveQuant = false; | ||
| 98 | } | ||
| 94 | } | 99 | } |
| 95 | if (pCfg->iSpatialLayerNum > 1) { | 100 | if (pCfg->iSpatialLayerNum > 1) { |
| 96 | int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth; | 101 | int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth; |