From: Dheeraj CVR Date: Sat, 30 May 2015 19:44:33 +0000 (+0400) Subject: exynos: multimedia: fix resubmitting CSD for NuPlayer X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50db0ed6de9dc06520259186bc3508975a91f27c;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git 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 --- 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 {