History

fix update parameters

ruil2 committed 12 years ago

Commit 863ec741 parent f8ca91f1 file · +3 −2Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+3−2
@@ -3593,7 +3593,6 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 3592 unmodified lines
35933593 (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference) ||
35943594 (pOldParam->iLTRRefNum != pNewParam->iLTRRefNum);
35953595 if (pNewParam->iMaxNumRefFrame > pOldParam->iMaxNumRefFrame) {
3596− pNewParam->iMaxNumRefFrame = pOldParam->iMaxNumRefFrame;
35973596 bNeedReset = true;
35983597 }
35993598
@@ -3676,7 +3675,9 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 76 unmodified lines
36763675 pOldParam->bEnableSpsPpsIdAddition = pNewParam->bEnableSpsPpsIdAddition;
36773676 pOldParam->bPrefixNalAddingCtrl = pNewParam->bPrefixNalAddingCtrl;
36783677 pOldParam->iNumRefFrame = pNewParam->iNumRefFrame; // number of reference frame used
3679−
3678+ pOldParam->uiGopSize = pNewParam->uiGopSize;
3679+ pOldParam->iTemporalLayerNum = pNewParam->iTemporalLayerNum;
3680+ pOldParam->iDecompStages = pNewParam->iDecompStages;
36803681 /* denoise control */
36813682 pOldParam->bEnableDenoise = pNewParam->bEnableDenoise;
36823683

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t