OSDN Git Service

Make sure the OMX component is synchronously shutdown before we try to instantiate...
authorAndreas Huber <andih@google.com>
Fri, 29 Jan 2010 18:10:22 +0000 (10:10 -0800)
committerAndreas Huber <andih@google.com>
Fri, 29 Jan 2010 18:11:11 +0000 (10:11 -0800)
commit98b48dee325bd22ae73029cd6a42047036ed5ab1
tree8604779b4b56d107cadff531ea4ed115fedd4250
parentd425a45f8d7c0e94d2db4c0a5c8157e6c846b853
Make sure the OMX component is synchronously shutdown before we try to instantiate another one. Also properly cleanup the software AVC decoder to avoid leaking memory.

related-to-bug: 2404786
media/libstagefright/AwesomePlayer.cpp
media/libstagefright/codecs/avc/dec/AVCDecoder.cpp