summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Jiwen 'Steve' Cai <jwcai@google.com> 2018-04-12 18:05:00 -0700
committer Jiwen 'Steve' Cai <jwcai@google.com> 2018-04-13 11:28:30 -0700
commitb53da4fdf32337382175800ce89ca9ad0962a6e4 (patch)
treebff8383c8bad9ef23e125c26db2a3c23d00e775f /libs/gui/BufferQueueThreadState.cpp
parent0c7c5d6c512c3e80da549ef1fd9567f5bd235868 (diff)
dvr_read_buffer_queue: don't stop releasing buffer
We used to abort ReleaseBuffer logic if we cannot verify that the buffer being released is in the target queue. However, in certain edge case, this could be true and we still want to release the buffer. One example is when a ProducerQueue closes and triggers its ConsumerQueue to remove all its buffers. In this case, ConsumerQueue::ReleaseBuffer() should still function properly. Bug: 77982072 Test: dvr_buffer_queue-test Change-Id: I6d8e2525470c8e3d78862d3f0753c8735d528b53
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions