add EC frame/slice copy.

This commit is contained in:
huili2
2014-04-15 22:25:29 -07:00
parent b2f7191fa7
commit bc2c4b0db0
9 changed files with 158 additions and 23 deletions

View File

@@ -164,7 +164,8 @@ void WelsDecoderDefaults (PWelsDecoderContext pCtx) {
pCtx->pPicBuff[LIST_1] = NULL;
pCtx->bAvcBasedFlag = true;
pCtx->iErrorConMethod = ERROR_CON_DISABLE;
pCtx->iErrorConMethod = ERROR_CON_SLICE_COPY;
pCtx->pPreviousDecodedPictureInDpb = NULL;
}