This patch fixes the state change (Execute to Idle) bug.
related-to-bug:
7336622
Change-Id: Ied1891cbbd73c26ae635d094ab9eb043ba8ce2d6
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
(!CHECK_PORT_BEING_FLUSHED(exynosInputPort))) {
ret = Exynos_InputBufferGetQueue(pExynosComponent);
#ifdef USE_METADATABUFFERTYPE
- if (pVideoEnc->bFirstInput == OMX_TRUE) {
+ if ((pVideoEnc->bFirstInput == OMX_TRUE) &&
+ (!CHECK_PORT_BEING_FLUSHED(exynosInputPort))) {
Exynos_OMX_ExtensionSetup(hComponent);
pVideoEnc->bFirstInput = OMX_FALSE;
}