This patch fixes the ANR at reset/release time,
caused by some failures in initializing component.
Change-Id: I45e560068e91fb2441a3c316a3c0f293b28b15ff
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Exynos_OMX_Release_Resource(pOMXComponent);
}
- Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "destState: %d", destState);
+ Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "destState: %d currentState: %d", destState, currentState);
switch (destState) {
case OMX_StateInvalid:
switch (currentState) {
/*
* if (CHECK_PORT_TUNNELED == OMX_TRUE) thenTunnel Buffer Free
*/
+ Exynos_OSAL_SignalSet(pExynosComponent->abendStateEvent);
+ Exynos_OMX_Release_Resource(pOMXComponent);
goto EXIT;
}
if (pExynosComponent->bMultiThreadProcess == OMX_FALSE) {