From 50db0ed6de9dc06520259186bc3508975a91f27c Mon Sep 17 00:00:00 2001 From: Dheeraj CVR Date: Sat, 30 May 2015 23:44:33 +0400 Subject: [PATCH] exynos: multimedia: fix resubmitting CSD for NuPlayer Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD. This fixes issues with seeking during playback when using NuPlayer. Change-Id: Id307100cb48608e6e3f09948838486da4948578c --- exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c b/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c index 80d2a50..2a95b0e 100644 --- a/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c +++ b/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c @@ -703,8 +703,7 @@ OMX_BOOL SEC_Preprocessor_InputData(OMX_COMPONENTTYPE *pOMXComponent) } else { previousFrameEOF = OMX_FALSE; } - if ((pSECComponent->bUseFlagEOF == OMX_TRUE) && - !(inputUseBuffer->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { + if (pSECComponent->bUseFlagEOF == OMX_TRUE) { flagEOF = OMX_TRUE; checkedSize = checkInputStreamLen; } else { -- 2.20.1