shithub: openh264

Download patch

ref: 0fda3d92354f3593f12efe8c18aee109cc5836c3
parent: d98cefecec59d8d0c0e991eadf765aa262bba989
author: ruil2 <ruil2@cisco.com>
date: Tue Jul 8 12:15:51 EDT 2014

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

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -102,7 +102,9 @@
       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;