common/video: added INVAILD_STATE in exceptionFlag
authorTaehwan Kim <t_h.kim@samsung.com>
Mon, 4 Mar 2013 04:11:38 +0000 (04:11 +0000)
committerHuisung Kang <hs1218.kang@samsung.com>
Tue, 5 Mar 2013 00:24:33 +0000 (09:24 +0900)
commit4650bb727d7c5a903d974789325dff1f8376e95c
tree00e831a02bdbf97a4e864881e6da35194b2d159e
parent565c1e8e086258d2e45fd730c4a2d0eb2773e5b9
common/video: added INVAILD_STATE in exceptionFlag

Waits for loadedResource semaphore
during OMX_CommandPortEnable command.

If occur an error from OpenMAX IL Client
before completing resource allocation,
loadedResource semaphore couldn't be released.

added INVAILD_STATE in exceptionFlag
in order to release loadedResource semaphore
in above case.

Change-Id: I31e1c398136d2fcbcf886408683c1d21625e1794
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
component/common/Exynos_OMX_Basecomponent.c
component/common/Exynos_OMX_Baseport.c
component/common/Exynos_OMX_Baseport.h
component/video/dec/Exynos_OMX_Vdec.c
component/video/dec/Exynos_OMX_VdecControl.c
component/video/enc/Exynos_OMX_VencControl.c