summaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorDheeraj CVR <cvr.dheeraj@gmail.com>2016-03-27 17:31:41 +0400
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-31 15:05:16 -0700
commit9dad4fe88897cd01a64c793a4081576d7396bce7 (patch)
tree991c447d6d2ae62c18011b2d8e34b4740d154584 /exynos
parenta958e7e7acf38ea8490117a81e59e4d89afa930c (diff)
downloadandroid_hardware_samsung-9dad4fe88897cd01a64c793a4081576d7396bce7.tar.gz
android_hardware_samsung-9dad4fe88897cd01a64c793a4081576d7396bce7.tar.bz2
android_hardware_samsung-9dad4fe88897cd01a64c793a4081576d7396bce7.zip
exynos: multimedia: implement proper EOS signalling for encoder
Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d
Diffstat (limited to 'exynos')
-rw-r--r--exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c b/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c
index e738507..cb1df5a 100644
--- a/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c
+++ b/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c
@@ -866,6 +866,11 @@ OMX_BOOL SEC_Preprocessor_InputData(OMX_COMPONENTTYPE *pOMXComponent)
}
ret = OMX_TRUE;
+ } else if (flagEOS == OMX_TRUE) {
+ SEC_OMX_DATABUFFER *outputUseBuffer = &pSECComponent->secDataBuffer[OUTPUT_PORT_INDEX];
+ outputUseBuffer->nFlags = inputUseBuffer->nFlags;
+ SEC_OutputBufferReturn(pOMXComponent);
+ ret = OMX_FALSE;
} else {
ret = OMX_FALSE;
}