exynos_omx: multi_thread: Fix bug for video encode tests.
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Fri, 10 Oct 2014 06:05:34 +0000 (15:05 +0900)
committerLajos Molnar <lajos@google.com>
Tue, 14 Oct 2014 00:28:40 +0000 (17:28 -0700)
commitd4ec0f61b9819c82c57daa98b891a3132ffa03b5
tree3a67e0bd456f82a4264a1a56885e157803bb2dbc
parent6f3be1e305dfb9a36d9771f0e71d0cf028afb017
exynos_omx: multi_thread: Fix bug for video encode tests.

If the output buffer that has been entered is invalid,
OMX component may experience problems in Flush operation.
This patch performs the following actions.
If invalid output buffer has been entered in the codec setup process, OMX Component will return an error.

Bug: 17785600
Bug: 17811083
Change-Id: Ida0939fae2b7102ab87d5242c8c71e732aba10a2
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
exynos_omx/openmax/exynos_omx/component/video/enc/h264/Exynos_OMX_H264enc.c
exynos_omx/openmax/exynos_omx/component/video/enc/mpeg4/Exynos_OMX_Mpeg4enc.c