commit | 94a90a43b2a9f83b3a4a4a59247b74ad50336860 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Wed Feb 20 13:36:17 2013 -0800 |
committer | Igor Murashkin <iam@google.com> | Fri Feb 22 10:50:15 2013 -0800 |
tree | 240c0a147b8856320274dc99d8bbad2937ea7905 | |
parent | 687f26c7bd7ece88cad8d51fc47be7ab1600af9d [diff] |
ProCamera: Fix waitForFrameBuffer not handling multiple outstanding frames If the CpuConsumer triggered multiple onFrameAvailable callbacks in between a single waitForFrameBuffer call, the old code would only handle 1 callback. This meant on two subsequent waitForFrameBuffer calls the second would always timeout when two buffers were already available to be unlocked. Bug: 8238112 Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497