diff options
author | Andreas Huber <andih@google.com> | 2012-09-28 10:23:51 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-09-28 10:23:51 -0700 |
commit | 96fc6cc65ca93009a759a3a874b82a35771b9714 (patch) | |
tree | 8084454da63f974ef6ccfe29e5e3760184ec185b /media/libstagefright/ACodec.cpp | |
parent | de799a74064a363d26f4c1bbc5a59d1b7127f49f (diff) | |
download | frameworks_av-96fc6cc65ca93009a759a3a874b82a35771b9714.zip frameworks_av-96fc6cc65ca93009a759a3a874b82a35771b9714.tar.gz frameworks_av-96fc6cc65ca93009a759a3a874b82a35771b9714.tar.bz2 |
Various improvements to a cleaner shutdown of the wifi display connection.
Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239
related-to-bug: 7247918
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r-- | media/libstagefright/ACodec.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 8190498..af7a459 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -2471,6 +2471,9 @@ bool ACodec::BaseState::onOMXEmptyBufferDone(IOMX::buffer_id bufferID) { // by this "mediaBuffer" object. Now that the OMX component has // told us that it's done with the input buffer, we can decrement // the mediaBuffer's reference count. + + ALOGV("releasing mbuf %p", mediaBuffer); + ((MediaBuffer *)mediaBuffer)->release(); mediaBuffer = NULL; |