exynos: multimedia: fix resubmitting CSD for NuPlayer
authorDheeraj CVR <cvr.dheeraj@gmail.com>
Sat, 30 May 2015 19:44:33 +0000 (23:44 +0400)
committerCaio Schnepper <caioschnepper@gmail.com>
Fri, 19 Jun 2015 19:16:18 +0000 (16:16 -0300)
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

index 80d2a50742ee8de30389925a8c6e66ff30a54754..2a95b0e6170505a22181e72d0b3d589b47054f62 100644 (file)
@@ -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 {