commit | 8c428d7ad225937c3d716dce88c9129e844b203b | [log] [tgz] |
---|---|---|
author | Fang Hui <hui.fang@nxp.com> | Tue Sep 24 21:01:07 2024 +0800 |
committer | Fang Hui <hui.fang@nxp.com> | Sat Oct 05 17:50:49 2024 +0800 |
tree | da951a76b790c684e17d434ba8a6b891182b5dd1 | |
parent | f74d99117ca88b1cc045d2f521956acb736a1af7 [diff] |
ExternalCameraHAL: Get old image if taking picture without preview The root cause is that the dequeue/queue v4l2 buffers is driven by requests. The potential issue is already noticed and commented in commented in OutputThread::threadLoop(). But setup a sensor thread may need change in architecture. The patch fix the issue by dropping too old buffers. Bug: 368087676 Change-Id: I5d6711bc3a73d0bc043b596aee6ce4af4c1841da Signed-off-by: Fang Hui <hui.fang@nxp.com>