daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/trunk/src/base/omx_base_component.c b/trunk/src/base/omx_base_component.c
  2. index b954c23..e3c2499 100644
  3. --- a/trunk/src/base/omx_base_component.c
  4. +++ b/trunk/src/base/omx_base_component.c
  5. @@ -1118,6 +1118,7 @@ OMX_ERRORTYPE omx_base_component_MessageHandler(OMX_COMPONENTTYPE *openmaxStandC
  6.    case OMX_CommandFlush: {
  7.      /*Flush port/s*/
  8.      if(message->messageParam==-1) {
  9. +#if 0
  10.        for(i=0;i<omx_base_component_Private->sPortTypesParam.nPorts;i++) {
  11.          omx_base_component_Private->ports[i]->bIsPortFlushed = OMX_TRUE;
  12.        }
  13. @@ -1125,10 +1126,13 @@ OMX_ERRORTYPE omx_base_component_MessageHandler(OMX_COMPONENTTYPE *openmaxStandC
  14.          pPort=omx_base_component_Private->ports[i];
  15.          err = pPort->FlushProcessingBuffers(pPort);
  16.        }
  17. +#endif
  18.      }
  19.      else {
  20. +#if 0
  21.        pPort=omx_base_component_Private->ports[message->messageParam];
  22.        err = pPort->FlushProcessingBuffers(pPort);
  23. +#endif
  24.      }
  25.      if (err != OMX_ErrorNone) {
  26.        (*(omx_base_component_Private->callbacks->EventHandler))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top