diff options
| author | Wei Jia <wjia@google.com> | 2014-10-10 18:13:00 -0700 |
|---|---|---|
| committer | Wei Jia <wjia@google.com> | 2014-10-10 19:02:06 -0700 |
| commit | f393c33e65ae51a7cf168b4e15771b152f996b32 (patch) | |
| tree | 85904b06c5860138ae690eb9a92c9721c6c99c67 | |
| parent | c4da004d4baef8cc4a631058549216c8d2383824 (diff) | |
| download | frameworks_av-f393c33e65ae51a7cf168b4e15771b152f996b32.zip frameworks_av-f393c33e65ae51a7cf168b4e15771b152f996b32.tar.gz frameworks_av-f393c33e65ae51a7cf168b4e15771b152f996b32.tar.bz2 | |
ACodec: process deferred messages when entering Loaded state.
Bug: 17792260
Change-Id: Ie8154cf41be5672fc8a9f3a2a82b7ede0a8b828f
| -rw-r--r-- | media/libstagefright/ACodec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index b6ac2a0..b14efd7 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -4551,6 +4551,8 @@ void ACodec::LoadedState::stateEntered() { onShutdown(keepComponentAllocated); } mCodec->mExplicitShutdown = false; + + mCodec->processDeferredMessages(); } void ACodec::LoadedState::onShutdown(bool keepComponentAllocated) { |
