shithub: openh264

Download patch

ref: ca61e286b4ef4513671ac0f8171fd6d59380d857
parent: c228c51423b5e957678d00c205816bdeae027844
parent: 0fda3d92354f3593f12efe8c18aee109cc5836c3
author: sijchen <sijchen@cisco.com>
date: Tue Jul 8 12:48:19 EDT 2014

Merge pull request #1104 from ruil2/rc_fix_1

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

--- 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;