Merge change I8aa71b06 into eclair-mr2

* changes:
  There is a crash due to OMX_UseBuffer change. In Reset(), media input node deletes the media input node port, which deletes the allocator. When encoder node releases the media data, it calls the allocator to release the memory. That causes crash.