shithub: openh264

Download patch

ref: b86bd5f7f678dc8e27e1e7cd894a54d80a12037d
parent: f230c637770d1bdb8a7e455baf420ad8eac83824
author: Sijia Chen <sijchen@cisco.com>
date: Mon Oct 5 12:21:02 EDT 2015

modify forceIDR log

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3458,6 +3458,9 @@
   pCtx->bEncCurFrmAsIdrFlag = true;
   pCtx->iCodingIndex = 0;
   pCtx->bCheckWindowStatusRefreshFlag = false;
+
+  WelsLog (&pCtx->sLogCtx, WELS_LOG_INFO, "ForceCodingIDR at InputFrameCount=%d\n",
+           pCtx->sEncoderStatistics.uiInputFrameCount);
   return 0;
 }
 
--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -475,8 +475,8 @@
   if (! (m_pEncContext && m_bInitialFlag)) {
     return 1;
   }
-  WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
-           "CWelsH264SVCEncoder::ForceIntraFrame(), bIDR= %d", bIDR);
+  //WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
+  //         "CWelsH264SVCEncoder::ForceIntraFrame(), bIDR= %d", bIDR);
 
   ForceCodingIDR (m_pEncContext);