am a7b22907: Fix a bug where the conditional wait is not correct for state transition from OMX_StateIdle to OMX_StateLoaded In addition, since we have already returned all buffers to the client after completing the state transition from OMX_StateExecuting to OMX_State
Merge commit 'a7b22907b3fe1a2d644e8ef023bf8d8fde16f99e' into froyo-plus-aosp
* commit 'a7b22907b3fe1a2d644e8ef023bf8d8fde16f99e':
Fix a bug where the conditional wait is not correct for state transition from OMX_StateIdle to OMX_StateLoaded