mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
exynos: multimedia: implement proper EOS signalling for encoder
Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d
This commit is contained in:
parent
a958e7e7ac
commit
9dad4fe888
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue