summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-09-24 14:07:35 -0700
committerLajos Molnar <lajos@google.com>2014-09-24 14:12:08 -0700
commit00bbc7d9faa0830ea15e4846083508b38ceff6e5 (patch)
treec9acaf05d7c89efe5e8640dd9b76caa06efc0f80 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfae2aabc30b0c3143fe3096140f8f4a9b00d87a7 (diff)
MediaCodec: revalidate cached queued input buffers if queue fails
For legacy behavior (using getInputBuffers) input buffer needs to be made valid if queue fails. Otherwise, it becomes unusable, and the buffer still belongs to the user. In the new model, buffers obtained by getIn/OutputBuffer will become invalid even if queue/release fails. We do not do the same logic for output buffers, as these should not be accessed even if releaseBuffer fails (which really should not happen anyway unless codec is in bad state). Bug: 17630446 Change-Id: Ica72a168d8aea97a0ee3f3ef49c60d0ca5a9fa06
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions