diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-09-23 23:52:31 -0500 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-09-24 00:15:20 -0700 |
commit | 383331e934246590d855e65e3e543d206aa026bf (patch) | |
tree | cdb2cce873bf3d5c8bc87b91d7594d4528ccce67 /omx | |
parent | 22c239812ee8fc2e69d7da5f0f3e0df599bc7806 (diff) | |
download | omap3-383331e934246590d855e65e3e543d206aa026bf.tar.gz |
Fix to honor seek request after EOS.
bug 2127768
OMX Component was not reseting first_buff flag when flushing output buffers.
Whenever the IL client does not flush input buffers the error reported is
present. Since the EOS has been resolved at the SN level, output buffer
can reset the firt_buff safely.
Originally from: https://partner.source.android.com/g/#change,1151
Diffstat (limited to 'omx')
-rw-r--r-- | omx/audio/src/openmax_il/aac_dec/src/OMX_AacDec_Utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/audio/src/openmax_il/aac_dec/src/OMX_AacDec_Utils.c b/omx/audio/src/openmax_il/aac_dec/src/OMX_AacDec_Utils.c index 2486d0d..d3c2eb2 100644 --- a/omx/audio/src/openmax_il/aac_dec/src/OMX_AacDec_Utils.c +++ b/omx/audio/src/openmax_il/aac_dec/src/OMX_AacDec_Utils.c @@ -1724,7 +1724,7 @@ OMX_U32 AACDEC_HandleCommand (AACDEC_COMPONENT_PRIVATE *pComponentPrivate) if(commandData == 0x1 || commandData == -1){ if (pComponentPrivate->nUnhandledFillThisBuffers == 0) { pComponentPrivate->bFlushOutputPortCommandPending = OMX_FALSE; - /*pComponentPrivate->first_buff = 0;*/ + pComponentPrivate->first_buff = 0; if(pComponentPrivate->num_Op_Issued && !pComponentPrivate->reconfigOutputPort ){ //no buffers sent to DSP yet aParam[0] = USN_STRMCMD_FLUSH; aParam[1] = 0x1; |