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:
d018b8f
)
stagefright: allow scenarios when dequeueBufferFromNativeWindow fails
author
Lajos Molnar
<lajos@google.com>
Tue, 12 Aug 2014 17:28:12 +0000
(10:28 -0700)
committer
Lajos Molnar
<lajos@google.com>
Tue, 12 Aug 2014 17:30:09 +0000
(10:30 -0700)
We can run out of native buffers when the bufferqueue is abandoned.
Bug:
16839124
Change-Id: If605f692b87082f1630e1da0fd44da0cb76133f5
media/libstagefright/ACodec.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/ACodec.cpp
b/media/libstagefright/ACodec.cpp
index
ac80da2
..
b77e1cd
100644
(file)
--- a/
media/libstagefright/ACodec.cpp
+++ b/
media/libstagefright/ACodec.cpp
@@
-3946,8
+3946,7
@@
void ACodec::BaseState::onInputBufferFilled(const sp<AMessage> &msg) {
(outputMode == FREE_BUFFERS ? "FREE" :
outputMode == KEEP_BUFFERS ? "KEEP" : "RESUBMIT"));
if (outputMode == RESUBMIT_BUFFERS) {
- CHECK_EQ(mCodec->submitOutputMetaDataBuffer(),
- (status_t)OK);
+ mCodec->submitOutputMetaDataBuffer();
}
}