ref: fc970418faee38029b5609daabb6be875f32e598
parent: 525ad9e7c8e7a3d5a4be4202956b4c14da3d4c91
author: Martin Storsjö <[email protected]>
date: Tue Feb 18 06:30:26 EST 2014
Fix building with REC_FRAME_COUNT defined
--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -234,6 +234,7 @@
}
}
#ifdef REC_FRAME_COUNT
+ SWelsSvcCodingParam &sEncodingParam = sConfig;
WelsLog (m_pEncContext, WELS_LOG_INFO, "CWelsH264SVCEncoder::Initialize, m_uiCountFrameNum= %d, m_iCspInternal= 0x%x\n",
m_uiCountFrameNum, m_iCspInternal);
WelsLog (m_pEncContext, WELS_LOG_INFO,
@@ -244,9 +245,9 @@
sEncodingParam.iRCMode,
sEncodingParam.iTemporalLayerNum,
sEncodingParam.iSpatialLayerNum,
- sEncodingParam.fFrameRate,
+ sEncodingParam.fMaxFrameRate,
sEncodingParam.iInputCsp,
- sEncodingParam.iIntraPeriod,
+ sEncodingParam.uiIntraPeriod,
sEncodingParam.bEnableSpsPpsIdAddition,
sEncodingParam.bPrefixNalAddingCtrl,
sEncodingParam.bEnableDenoise,