Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -102,7 +102,9 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) { · 101 unmodified lines | ||
| 102 | 102 | WelsLog (pLogCtx, WELS_LOG_WARNING, |
| 103 | 103 | "ParamValidation(), screen change detection should be turned on,change bEnableSceneChangeDetect as true\n"); |
| 104 | 104 | } |
| 105 | − | |
| 105 | + //LTR logic needs more testing | |
| 106 | + pCfg->bEnableLongTermReference = false; | |
| 107 | + pCfg->iLTRRefNum = 0; | |
| 106 | 108 | } |
| 107 | 109 | if (pCfg->iSpatialLayerNum > 1) { |
| 108 | 110 | int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth; |