From de7febad85770e54fbf2955f56210650185c65a8 Mon Sep 17 00:00:00 2001 From: SeungBeom Kim Date: Sun, 29 Mar 2015 15:55:38 +0200 Subject: [PATCH] video_dec: Fix scheme of output metadata buffer in Decode component Backported-from: hardware/samsung_slsi/exynos5 Change-Id: I2d9df629349469d0ad5560e513de8855aae9de03 Signed-off-by: Andreas Schneider --- component/video/dec/Exynos_OMX_Vdec.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/component/video/dec/Exynos_OMX_Vdec.c b/component/video/dec/Exynos_OMX_Vdec.c index 69d300f..cb32d85 100644 --- a/component/video/dec/Exynos_OMX_Vdec.c +++ b/component/video/dec/Exynos_OMX_Vdec.c @@ -925,6 +925,11 @@ OMX_ERRORTYPE Exynos_OMX_DstInputBufferProcess(OMX_HANDLETYPE hComponent) break; } } + + OMX_PTR pBufferHandle = dstInputData.bufferHeader->pBuffer; + if (exynosOutputPort->bStoreMetaData == OMX_TRUE) { + Exynos_OSAL_GetInfoFromMetaData(dstInputData.bufferHeader->pBuffer, &pBufferHandle); + } Exynos_ResetDataBuffer(dstInputUseBuffer); } } -- 2.20.1