OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63284ed
)
Fix a case where the aac hardware decoder is in a transition state and refused a...
author
Andreas Huber
<andih@google.com>
Mon, 12 Apr 2010 17:20:12 +0000
(10:20 -0700)
committer
Andreas Huber
<andih@google.com>
Mon, 12 Apr 2010 17:20:12 +0000
(10:20 -0700)
Change-Id: I4cabd18709c29db0a2763a01cc86525ba0b0aeb7
related-to-bug:
2575976
media/libstagefright/OMXCodec.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/OMXCodec.cpp
b/media/libstagefright/OMXCodec.cpp
index
6037088
..
b9d6fbc
100644
(file)
--- a/
media/libstagefright/OMXCodec.cpp
+++ b/
media/libstagefright/OMXCodec.cpp
@@
-2068,7
+2068,13
@@
void OMXCodec::fillOutputBuffer(BufferInfo *info) {
CODEC_LOGV("Calling fill_buffer on buffer %p", info->mBuffer);
status_t err = mOMX->fillBuffer(mNode, info->mBuffer);
- CHECK_EQ(err, OK);
+
+ if (err != OK) {
+ CODEC_LOGE("fillBuffer failed w/ error 0x%08x", err);
+
+ setState(ERROR);
+ return;
+ }
info->mOwnedByComponent = true;
}