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

Skip to content
Commit c666687f authored by Chong Zhang's avatar Chong Zhang
Browse files

Tuning of buffer dequeue code to reduce stalls

Queue as many inputs as possible without blocking, then
block on output. Also change the blocking time to 10ms
but allow a little more retries.

Finally, assign a non-zero pts to the image samples to
suppress warnings from MediaCodec about 0 pts.

bug: 78475896

Change-Id: I57c4096a93bc5de0a413968224843a69df667df8
parent 67f280ee
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