venc: modified an error check routine
authorTaehwan Kim <t_h.kim@samsung.com>
Mon, 29 Oct 2012 04:40:32 +0000 (13:40 +0900)
committerHuisung Kang <hs1218.kang@samsung.com>
Mon, 29 Oct 2012 04:54:23 +0000 (13:54 +0900)
commita3b57b8aadd61e83252a5402b091d88b448a9cb9
treea28e4992450a4e7cd07ac1bf79aeb16f62f52044
parentfaa0e22c3bf6d0ef7b61540179e6b13f4a2b2a3b
venc: modified an error check routine

If do "buffer flush" without doing srcIn function,
In case of BUFFER_COPY,
always return OMX_ErrorBadParameter
in the codecEnQueueAllBuffer function.

Change-Id: Ia1631de9ecb02f83b5cfc8edbacfbef453705864
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
component/video/enc/h264/Exynos_OMX_H264enc.c
component/video/enc/mpeg4/Exynos_OMX_Mpeg4enc.c