OSDN Git Service

Make sure the message dispatcher stays around until after OMX_FreeHandle is finished...
authorAndreas Huber <andih@google.com>
Fri, 17 Sep 2010 18:49:39 +0000 (11:49 -0700)
committerAndreas Huber <andih@google.com>
Fri, 17 Sep 2010 18:49:39 +0000 (11:49 -0700)
commit00998fbb52dfa78ac3a4b3706d64fc612926bfbc
treeeb71b0b9525def53ea12949f421b68deb440dbb8
parent095916d92ea2378aea6fc35e80e368172c02021b
Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec's destructor.

Change-Id: I9c896cf07dea0c3201b6f074dbaf27e6d85cd784
media/libstagefright/OMXCodec.cpp
media/libstagefright/omx/OMX.cpp