History

add EC method to freeze sequence when resolution changed and decoding IDR error

huili2 committed 12 years ago

Commit 0d16fd61 parent aed7b237 files · +33 −6Browse files

Showing the changes to codec/decoder/core/src/manage_dec_ref.cpp (1 of 7 files). Show all

Unified · Split

codec/decoder/core/src/manage_dec_ref.cpp+3−1
@@ -120,7 +120,9 @@ int32_t WelsInitRefList (PWelsDecoderContext pCtx, int32_t iPoc) { · 119 unmodified lines
120120 pRef->bIsComplete = false; // Set complete flag to false for lost IDR ref picture
121121 pCtx->iErrorCode |= dsDataErrorConcealed;
122122 bool bCopyPrevious = ((ERROR_CON_FRAME_COPY_CROSS_IDR == pCtx->eErrorConMethod)
123− || (ERROR_CON_SLICE_COPY_CROSS_IDR == pCtx->eErrorConMethod)) && (NULL != pCtx->pPreviousDecodedPictureInDpb);
123+ || (ERROR_CON_SLICE_COPY_CROSS_IDR == pCtx->eErrorConMethod)
124+ || (ERROR_CON_SLICE_COPY_CROSS_IDR_FREEZE_RES_CHANGE == pCtx->eErrorConMethod))
125+ && (NULL != pCtx->pPreviousDecodedPictureInDpb);
124126 bCopyPrevious = bCopyPrevious && (pRef->iWidthInPixel == pCtx->pPreviousDecodedPictureInDpb->iWidthInPixel)
125127 && (pRef->iHeightInPixel == pCtx->pPreviousDecodedPictureInDpb->iHeightInPixel);
126128 if (bCopyPrevious) {

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