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
3155 3155
3156 pCtx->pFuncList->pMarkPic (pCtx);3156 pCtx->pFuncList->pMarkPic (pCtx);
3157 if (!pCtx->pFuncList->pBuildRefList (pCtx, pCtx->iPOC, 0)) {3157 if (!pCtx->pFuncList->pBuildRefList (pCtx, pCtx->iPOC, 0)) {
3158 pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx);
3158 // Force coding IDR as followed3159 // Force coding IDR as followed
3159 ForceCodingIDR (pCtx);3160 ForceCodingIDR (pCtx);
3160 WelsLog (pLogCtx, WELS_LOG_WARNING,3161 WelsLog (pLogCtx, WELS_LOG_WARNING,
@@ -3425,6 +3426,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 264 unmodified lines
3425 // reference picture list update3426 // reference picture list update
3426 if (eNalRefIdc != NRI_PRI_LOWEST) {3427 if (eNalRefIdc != NRI_PRI_LOWEST) {
3427 if (!pCtx->pFuncList->pUpdateRefList (pCtx)) {3428 if (!pCtx->pFuncList->pUpdateRefList (pCtx)) {
3429 pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx);
3428 // Force coding IDR as followed3430 // Force coding IDR as followed
3429 ForceCodingIDR (pCtx);3431 ForceCodingIDR (pCtx);
3430 WelsLog (pLogCtx, WELS_LOG_WARNING, "WelsEncoderEncodeExt(), WelsUpdateRefList failed. ForceCodingIDR!");3432 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