OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e3603
)
ACodec: transition to UNINITIALIZED after force release
author
Wonsik Kim
<wonsik@google.com>
Wed, 3 May 2017 00:24:47 +0000
(17:24 -0700)
committer
Wonsik Kim
<wonsik@google.com>
Wed, 3 May 2017 00:24:47 +0000
(17:24 -0700)
Bug:
37857940
Test: AuptTV
Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Change-Id: I583f955839d440aad96cf4bbccad05ed9e291700
media/libstagefright/ACodec.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/ACodec.cpp
b/media/libstagefright/ACodec.cpp
index
2877ba2
..
88de2e5
100644
(file)
--- a/
media/libstagefright/ACodec.cpp
+++ b/
media/libstagefright/ACodec.cpp
@@
-5401,6
+5401,8
@@
bool ACodec::BaseState::onMessageReceived(const sp<AMessage> &msg) {
ALOGE_IF("[%s] failed to release codec instance: err=%d",
mCodec->mComponentName.c_str(), err);
mCodec->mCallback->onReleaseCompleted();
+
+ mCodec->changeState(mCodec->mUninitializedState);
break;
}