commit | c666687f67d1d00beb88c63f90cefc708cbe8500 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Apr 20 14:25:30 2018 -0700 |
committer | Chong Zhang <chz@google.com> | Thu Apr 26 12:47:38 2018 -0700 |
tree | 695ac83e026a22e1e89734e623d0d4014b79c68f | |
parent | 67f280ee7f7ec076cce335c7aa7d3150ae0a3e28 [diff] |
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