am 29ca6266: am c4a7d89c: Fix potential memory leak from video mio WM is still using the old video MIO to do rendering Over the test, I did not see it leaks, but it does not hurt to add a check.
am e11d2a35: am 2e35c709: am bf099c10: Fix a bug related to use a mutex that is meant for cross-processes sharing but is not set its attribute to enforce it.
am 7eb36421: am 5e41d631: Fix another EOS lost bug
am fa500457: 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
am 2fb88637: am 08fad4c7: Don\'t handle input buffer in the OMX_StateLoaded state too. The input buffers have been returned while doing the state transition from OMX_StateExecuting to OMX_StateIdle. This is a similar fix for the one corresponding to output buffer (I78
Don't invalidate the memory pointed by the arm argument pointer,
if the arm argument pointer is NULL or the size of the memory that it
points to is 0.

This avoids some logging spam, which happens very frequently
with JPEG encoder and WMV decoder.

Change-Id: I00b4adea27466fa56a65ccb795299f61f0e0bc8f
The second part of a fix for the AAC decoder to recover from corrupted audio frame.
It depends on the socket node change.

bug - 2600553

Change-Id: I6caea1f331ad97a4d648097d513bbcc87b2e5e5f
am 21ec5bd3: am b052eae4: Fixes a race condition in the hardware mp3 OMX driver code.
am 44577d1f: Fix a bunch of AAC encoder issues - Fixed a timeout issue when the close is sent but the component thread does not exit - Fixed a race condition waiting for stop to complete - Don\'t return error from OMX_GetState()
am 27bb904e: am 2c4ce96e: am 801f558c: For issue #2651381, allow library prelinking.
am b01194f3: OMX_GetState() always timeout after OMX_StateIdle to OMX_StateLoaded transition. The timeout duration is 3 seconds, which slows down the shutdown of the audio omx encoder component
am a7ccfa60: OMX_GetState() always timeout after OMX_StateIdle to OMX_StateLoaded transition. The timeout duration is 3 seconds, which slows down the shutdown of the audio omx encoder component
Don't overwrite read-only argument in the implementation for OMX_SetParameter$
Also, comment out the code does not apply to android platform (direct /dev/ access)

Change-Id: I2ca7736fb67e60ed4c31ec77901660b5032c41cb
Fix broken build

Change-Id: If20f97574676cc0b4ad0e933b97cb683bf4d4dc9
merge from open-source master

Change-Id: I05f81438ef2226c000a8b7cf7ae5b6a908c51f9f
am 144f2f68: merge from open-source master

Merge commit '144f2f68bbef4e0988f2bf1d4ed7e4b9b227b771'

* commit '144f2f68bbef4e0988f2bf1d4ed7e4b9b227b771':
  Fix broken build
am eb6da54e: TI\'s video encoder labels codec config data with OMX_BUFFERFLAG_CODECCONFIG

Merge commit 'eb6da54ec5a57e2f7219330d36a37213a850db17' into gingerbread-plus-aosp

* commit 'eb6da54ec5a57e2f7219330d36a37213a850db17':
  TI's video encoder labels codec config data with OMX_BUFFERFLAG_CODECCONFIG
am d80112be: am eb6da54e: TI\'s video encoder labels codec config data with OMX_BUFFERFLAG_CODECCONFIG

Merge commit 'd80112bea5c1efe1572bc01e28e60bda6c95eadc'

* commit 'd80112bea5c1efe1572bc01e28e60bda6c95eadc':
  TI's video encoder labels codec config data with OMX_BUFFERFLAG_CODECCONFIG
am 468432c0: Include the framework copy of the OpenMAX headers instead of referencing external/opencore.

Merge commit '468432c09856425b72214e2b6682800bf17f5b22' into gingerbread-plus-aosp

* commit '468432c09856425b72214e2b6682800bf17f5b22':
  Include the framework copy of the OpenMAX headers instead of referencing external/opencore.
Merge 5e6ec733 from gingerbread-plus-aosp

Change-Id: I85522668d103b66e9933416bb015ce4176d3842e