commit | b8fe079a0d5d663e81fce4ba8c5768e6b566c2f1 | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Mon Dec 07 17:14:55 2020 +0900 |
committer | Chih-Yu Huang <akahuang@google.com> | Wed Dec 23 09:49:58 2020 +0900 |
tree | 1f650410db2ae2540113cb3db2d60c92687dea50 | |
parent | 8bd3f093661457c24910ba4c19ca96a89c505942 [diff] |
codec2: propagate C2_NO_MEMORY from C2ComponentStore::createComponent() When C2ComponentStore::createComponent() returns C2_NO_MEMORY, MediaCodec should raise CodecException with error code ERROR_INSUFFICIENT_RESOURCE. This CL progagates the error properly. Bug: 174530542 Test: android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances Change-Id: I6c8c2de0888944f57b4ea404a5f589e70ee61dc4