History

Merge pull request #2722 from ruil2/profile

reset encoder when profile/level change

guangwei committed 9 years ago

Commit e8b18022 parents d48a90d 913f1741 file · +8 −0Browse 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+8−0
@@ -4230,6 +4230,14 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 4229 unmodified lines
4230 bNeedReset = true;4230 bNeedReset = true;
4231 break;4231 break;
4232 }4232 }
4233 if (pOldParam->sSpatialLayers[iIndexD].uiProfileIdc !=
4234 pNewParam->sSpatialLayers[iIndexD].uiProfileIdc
4235 ||
4236 pOldParam->sSpatialLayers[iIndexD].uiLevelIdc !=
4237 pNewParam->sSpatialLayers[iIndexD].uiLevelIdc) {
4238 bNeedReset = true;
4239 break;
4240 }
4233 4241
4234 // check frame rate4242 // check frame rate
4235 // we can not check whether corresponding fFrameRate is equal or not,4243 // we can not check whether corresponding fFrameRate is equal or not,

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