BufferQueue: fixed acquire operation

Bug: 6082872
Change-Id: I897dc61eb84fed953e51f97871cd3ae6321505d4
This commit is contained in:
Daniel Lam 2012-03-02 10:17:34 -08:00
parent 00b5eabe3c
commit 3fcee50ffa

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;