History

update spatial picture when abnormal exit

ruil2 committed 12 years ago

Commit bb43c1c1 parent f003fa11 file · +2 −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+2−0
@@ -3155,6 +3155,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3154 unmodified lines
31553155
31563156 pCtx->pFuncList->pMarkPic (pCtx);
31573157 if (!pCtx->pFuncList->pBuildRefList (pCtx, pCtx->iPOC, 0)) {
3158+ pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx);
31583159 // Force coding IDR as followed
31593160 ForceCodingIDR (pCtx);
31603161 WelsLog (pLogCtx, WELS_LOG_WARNING,
@@ -3425,6 +3426,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 264 unmodified lines
34253426 // reference picture list update
34263427 if (eNalRefIdc != NRI_PRI_LOWEST) {
34273428 if (!pCtx->pFuncList->pUpdateRefList (pCtx)) {
3429+ pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx);
34283430 // Force coding IDR as followed
34293431 ForceCodingIDR (pCtx);
34303432 WelsLog (pLogCtx, WELS_LOG_WARNING, "WelsEncoderEncodeExt(), WelsUpdateRefList failed. ForceCodingIDR!");

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