commit | ad60a0f6cd9012507f8086fe741236d12d280ef3 | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Thu Nov 10 16:18:06 2016 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Fri Nov 11 08:46:59 2016 +0900 |
tree | a4d8e4f1e94a881bcdcf53bdd0fa756bf8fcdc55 | |
parent | 93f52337443196a95d183cb8fd8984aa86c41235 [diff] |
stagefright: reuse buffers instead of cloning In buffer array mode, the buffer reference is kept in clients of MediaCodec, so allocating new buffer for new input/output does not work in that case. Bug: 32577275 Bug: 32579231 Test: use screenrecord and investigate the output file. Test: cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.EncodeDecodeTest Change-Id: I26d89f6b5735094062b8a2027bcab4754576d574