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_StateIdle, we don't need to process OMX_FillThisBuffer() in the state of
OMX_StateLoaded.

bug - 2501987

Change-Id: I7506092b97b8fb93bcfb8cefaceaf6ca98e86e06
3 files changed