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

Skip to content
Commit 42616e29 authored by Guang Qiao's avatar Guang Qiao Committed by Robert Chou
Browse files

Copy native_handle in MetaData mode

In MetaData mode, video buffer stores a pointer to struct native_handle.
The video buffer needs a deep copy to avoid dangling pointer.

Test: run cts testcase testRecorderTimeLapsedVideo 10 times, and it
passed 10 times

Bug: 116833091
Change-Id: Ia84b9e858860a04d3fbcd58d4609351bb4270832
(cherry picked from commit 181d3017)
parent 9c971349
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment