shithub: openh264

Download patch

ref: c72f82e7a7f633e464b38aaf11cfb7c808f5ab46
parent: d4baad0dcb760cdee8244177cdfbdfe8b284af91
author: ruil2 <[email protected]>
date: Thu Jul 10 12:20:54 EDT 2014

Revert "turn off LTR for screen content. after checking LTR logic, will turn on"

This reverts commit 0fda3d92354f3593f12efe8c18aee109cc5836c3.

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -102,9 +102,7 @@
       WelsLog (pLogCtx, WELS_LOG_WARNING,
                "ParamValidation(), screen change detection should be turned on,change bEnableSceneChangeDetect as true\n");
     }
-    //LTR logic needs more testing
-    pCfg->bEnableLongTermReference = false;
-    pCfg->iLTRRefNum = 0;
+
   }
   if (pCfg->iSpatialLayerNum > 1) {
     int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;