pDstInputData->buffer.multiPlaneBuffer.dataBuffer[1]);
if ((pVideoDec->bReconfigDPB == OMX_TRUE) &&
- (pExynosOutputPort->bufferProcessType & BUFFER_SHARE)) {
+ (pExynosOutputPort->bufferProcessType & BUFFER_SHARE) &&
+ (pExynosOutputPort->exceptionFlag == GENERAL_STATE)) {
ret = H264CodecDstSetup(pOMXComponent);
if (ret != OMX_ErrorNone)
goto EXIT;
((displayStatus == VIDEO_FRAME_STATUS_CHANGE_RESOL) ||
(displayStatus == VIDEO_FRAME_STATUS_ENABLED_S3D))) {
if (pVideoDec->bReconfigDPB != OMX_TRUE) {
+ pExynosOutputPort->exceptionFlag = NEED_PORT_FLUSH;
pVideoDec->bReconfigDPB = OMX_TRUE;
#ifdef USE_S3D_SUPPORT
/* Check Whether frame packing information is available */