From 6201909bad11eab8339ec8dbef4d0152231308af Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Mon, 10 Dec 2012 14:42:05 -0800 Subject: [PATCH] omx: basecomponent: signal abendStateEvent if GetResource fails This always happens if the user tries to do multiple encoding sessions at the same time. Change-Id: I464b06b170de71ae77e43f76cb6f058ae95b703c Signed-off-by: Dima Zavin --- .../exynos_omx/component/common/Exynos_OMX_Basecomponent.c | 1 + 1 file changed, 1 insertion(+) diff --git a/exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c b/exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c index fac8d52..e0f19aa 100644 --- a/exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c +++ b/exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c @@ -191,6 +191,7 @@ OMX_ERRORTYPE Exynos_OMX_ComponentStateSet(OMX_COMPONENTTYPE *pOMXComponent, OMX if ((currentState == OMX_StateLoaded) && (destState == OMX_StateIdle)) { ret = Exynos_OMX_Get_Resource(pOMXComponent); if (ret != OMX_ErrorNone) { + Exynos_OSAL_SignalSet(pExynosComponent->abendStateEvent); goto EXIT; } } -- 2.20.1