History

fix bug when temporal layer changes

ruil2 committed 12 years ago

Commit 821483a1 parent 2f53a081 file · +4 −1Browse 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+4−1
@@ -3718,7 +3718,10 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 3717 unmodified lines
3718 pOldParam->bPrefixNalAddingCtrl = pNewParam->bPrefixNalAddingCtrl;3718 pOldParam->bPrefixNalAddingCtrl = pNewParam->bPrefixNalAddingCtrl;
3719 pOldParam->iNumRefFrame = pNewParam->iNumRefFrame; // number of reference frame used3719 pOldParam->iNumRefFrame = pNewParam->iNumRefFrame; // number of reference frame used
3720 pOldParam->uiGopSize = pNewParam->uiGopSize;3720 pOldParam->uiGopSize = pNewParam->uiGopSize;
3721 pOldParam->iTemporalLayerNum = pNewParam->iTemporalLayerNum;3721 if (pOldParam->iTemporalLayerNum != pNewParam->iTemporalLayerNum) {
3722 pOldParam->iTemporalLayerNum = pNewParam->iTemporalLayerNum;
3723 (*ppCtx)->iCodingIndex = 0;
3724 }
3722 pOldParam->iDecompStages = pNewParam->iDecompStages;3725 pOldParam->iDecompStages = pNewParam->iDecompStages;
3723 /* denoise control */3726 /* denoise control */
3724 pOldParam->bEnableDenoise = pNewParam->bEnableDenoise;3727 pOldParam->bEnableDenoise = pNewParam->bEnableDenoise;

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