mediaserver crash is resolved.
Bug:
8329017
Change-Id: I6f6f160709e1e8be21a17bce2954a3e4a12d53a2
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
if ((bCheckInputData == OMX_FALSE) &&
(!CHECK_PORT_BEING_FLUSHED(exynosInputPort))) {
ret = Exynos_InputBufferGetQueue(pExynosComponent);
+ if (ret != OMX_ErrorNone) {
+ Exynos_OSAL_MutexUnlock(srcInputUseBuffer->bufferMutex);
+ break;
+ }
#ifdef USE_METADATABUFFERTYPE
if ((pVideoEnc->bFirstInput == OMX_TRUE) &&
(!CHECK_PORT_BEING_FLUSHED(exynosInputPort))) {