commit | 5ab2613e7d19c4b1f32b86e1274357c1f9dfba87 | [log] [tgz] |
---|---|---|
author | Pin-chih Lin <johnylin@google.com> | Wed May 09 22:25:19 2018 +0800 |
committer | Pin-chih Lin <johnylin@google.com> | Tue Jun 19 11:08:52 2018 +0800 |
tree | 85f9b38ca03d92c220bccd7396c94cf3ec9d6cee | |
parent | 448c0c7413335489520e89118c60041be684e9a3 [diff] |
codec2: use temporal hack for buffer recycling in byte-buffer mode This is not a proper solution!! Since we don't have one to recycle output buffers in byte-buffer mode (no IGBP is given), we temporarily use an internal mock queue for buffers outputted to client and recycle it when it is popped from the queue by a new push. Bug: 79239042 Test: CtsMediaTestCases android.media.cts.DecoderTest#testCodecResetsVP8WithoutSurface Change-Id: I7b6778a3fbacc61eb0c1b9c741a749df3b6689d9