am 1d7a8b44: Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo
Merge commit '1d7a8b448e9371685894b6b02d29bcd3ae959545' into froyo-plus-aosp * commit '1d7a8b448e9371685894b6b02d29bcd3ae959545': Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user