Merge "BufferQueue: fixed acquire operation"

This commit is contained in:
Mathias Agopian 2012-03-05 12:09:45 -08:00 committed by Android (Google) Code Review
commit 11f05b0113

View File

@ -828,6 +828,7 @@ status_t BufferQueue::acquire(BufferItem *buffer) {
buffer->mTransform = mSlots[buf].mTransform;
buffer->mScalingMode = mSlots[buf].mScalingMode;
buffer->mFrameNumber = mSlots[buf].mFrameNumber;
buffer->mTimestamp = mSlots[buf].mTimestamp;
buffer->mBuf = buf;
mSlots[buf].mAcquireCalled = true;