commit | 31867b30d3144decd42de0214d8b71c45a2c8cc1 | [log] [tgz] |
---|---|---|
author | Ruchit Sharma <ruchits@nvidia.com> | Fri Nov 14 13:18:16 2014 -0500 |
committer | Zhijun He <zhijunhe@google.com> | Tue Nov 25 01:47:05 2014 +0000 |
tree | 1b08391b48c58e42a1d4a60a39b3d2af9ba3b30e | |
parent | bc0f452b9a76dd8c8244e775bc9c5aa85cae3ddf [diff] |
camera: fix frame deletion logic in mInFlightMap For per-frame error notifications, camera3.h requirements state that all the buffer handles for a failed frame capture must be returned via process_capture_result() call(s). Hence, Camera3Device needs to ensure that the frame entry is not deleted from mInFlightMap until all buffers for that frame have been returned by HAL. Bug: 17757940 Change-Id: I2579ca7980d2fd67d53abc530e2706538f7d3d3a