Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c428d7a authored by Fang Hui's avatar Fang Hui
Browse files

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: default avatarFang Hui <hui.fang@nxp.com>
parent f74d9911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment