format update
This commit is contained in:
parent
56222afe07
commit
de3990479e
@ -361,7 +361,7 @@ int CWelsH264SVCEncoder::InitializeInternal (SWelsSvcCodingParam* pCfg) {
|
||||
} else {
|
||||
pCfg->iLTRRefNum = 0;
|
||||
if (pCfg->iNumRefFrame == AUTO_REF_PIC_COUNT)
|
||||
pCfg->iNumRefFrame = WELS_MAX (1, pCfg->uiGopSize >> 1);;
|
||||
pCfg->iNumRefFrame = WELS_MAX (1, pCfg->uiGopSize >> 1);
|
||||
}
|
||||
} else {
|
||||
pCfg->iLTRRefNum = pCfg->bEnableLongTermReference ? WELS_CLIP3 (pCfg->iLTRRefNum, 1, LONG_TERM_REF_NUM) : 0;
|
||||
@ -581,7 +581,8 @@ void CWelsH264SVCEncoder::CheckReferenceNumSetting (int32_t iNumRef) {
|
||||
m_pEncContext->pSvcParam->iNumRefFrame = iNumRef;
|
||||
if ((iNumRef < MIN_REF_PIC_COUNT) || (iNumRef > MAX_REFERENCE_PICTURE_COUNT_NUM)) {
|
||||
m_pEncContext->pSvcParam->iNumRefFrame = AUTO_REF_PIC_COUNT;
|
||||
WelsLog (m_pEncContext, WELS_LOG_WARNING, "doesn't support the number of reference frame(%d) change to auto select mode\n",iNumRef);
|
||||
WelsLog (m_pEncContext, WELS_LOG_WARNING,
|
||||
"doesn't support the number of reference frame(%d) change to auto select mode\n", iNumRef);
|
||||
}
|
||||
}
|
||||
/************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user