summaryrefslogtreecommitdiff
path: root/libs/gui/StreamSplitter.cpp
diff options
context:
space:
mode:
author Pablo Ceballos <pceballos@google.com> 2015-08-26 18:59:08 -0700
committer Pablo Ceballos <pceballos@google.com> 2015-09-24 15:22:42 -0700
commit567dbbb6dd42be5013fcde0dadb3316d85f2fa0d (patch)
tree5072cd29a7d0dc5be17f5a27f805c42c12ebcdbb /libs/gui/StreamSplitter.cpp
parent1ec0f48cbd44a56c360d075849655ab2c3f36476 (diff)
BQ: get rid of async in producer interface
- Get rid of the async flag in dequeueBuffer, allocateBuffers, waitForFreeSlotThenRelock, and QueueBufferInput. - Instead use the persistent flags mDequeueBufferCannotBlock and mAsyncMode to determine whether to use the async behavior. Bug 13174928 Change-Id: Ie6f7b9e46ee3844ee77b102003c84dddf1bcafdd
Diffstat (limited to 'libs/gui/StreamSplitter.cpp')
-rw-r--r--libs/gui/StreamSplitter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gui/StreamSplitter.cpp b/libs/gui/StreamSplitter.cpp
index dce0e87592..bafe947efe 100644
--- a/libs/gui/StreamSplitter.cpp
+++ b/libs/gui/StreamSplitter.cpp
@@ -144,8 +144,7 @@ void StreamSplitter::onFrameAvailable(const BufferItem& /* item */) {
bufferItem.mTimestamp, bufferItem.mIsAutoTimestamp,
bufferItem.mDataSpace, bufferItem.mCrop,
static_cast<int32_t>(bufferItem.mScalingMode),
- bufferItem.mTransform, bufferItem.mIsDroppable,
- bufferItem.mFence);
+ bufferItem.mTransform, bufferItem.mFence);
// Attach and queue the buffer to each of the outputs
Vector<sp<IGraphicBufferProducer> >::iterator output = mOutputs.begin();