modify forceIDR log

This commit is contained in:
Sijia Chen 2015-10-05 16:21:02 -07:00
parent f230c63777
commit b86bd5f7f6
2 changed files with 5 additions and 2 deletions

View File

@ -3458,6 +3458,9 @@ int32_t ForceCodingIDR (sWelsEncCtx* pCtx) {
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;
}

View File

@ -475,8 +475,8 @@ int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR) {
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);