exynos: multimedia: implement proper EOS signalling for encoder

Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d
tirimbino
Dheeraj CVR 9 years ago committed by Gerrit Code Review
parent a958e7e7ac
commit 9dad4fe888
  1. 5
      exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c

@ -866,6 +866,11 @@ OMX_BOOL SEC_Preprocessor_InputData(OMX_COMPONENTTYPE *pOMXComponent)
} }
ret = OMX_TRUE; ret = OMX_TRUE;
} else if (flagEOS == OMX_TRUE) {
SEC_OMX_DATABUFFER *outputUseBuffer = &pSECComponent->secDataBuffer[OUTPUT_PORT_INDEX];
outputUseBuffer->nFlags = inputUseBuffer->nFlags;
SEC_OutputBufferReturn(pOMXComponent);
ret = OMX_FALSE;
} else { } else {
ret = OMX_FALSE; ret = OMX_FALSE;
} }

Loading…
Cancel
Save