Merge "Turn another assertion into a runtime error. Damn you surfaces." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
2597aedb38
@@ -2233,7 +2233,11 @@ void OMXCodec::onCmdComplete(OMX_COMMANDTYPE cmd, OMX_U32 data) {
|
|||||||
enablePortAsync(portIndex);
|
enablePortAsync(portIndex);
|
||||||
|
|
||||||
status_t err = allocateBuffersOnPort(portIndex);
|
status_t err = allocateBuffersOnPort(portIndex);
|
||||||
CHECK_EQ(err, (status_t)OK);
|
|
||||||
|
if (err != OK) {
|
||||||
|
CODEC_LOGE("allocateBuffersOnPort failed (err = %d)", err);
|
||||||
|
setState(ERROR);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user