commit | 09ae5f60a96b209f8803b9097bd8ba7fc2c3bbe8 | [log] [tgz] |
---|---|---|
author | Santiago Seifert <aquilescanta@google.com> | Fri Sep 18 16:51:04 2020 +0100 |
committer | Santiago Seifert <aquilescanta@google.com> | Mon Oct 12 16:53:44 2020 +0100 |
tree | 7f3ccd96b129d55d558006841a4d4676437483ce | |
parent | 0ad7b55f287f83c6683d07eb4a807a9b0134933e [diff] |
Add MediaCodec.CryptoInfo.getPattern Allows MediaParser and MediaExtractor clients to know the encrpytion pattern of the parsed/extracted media. Without the getter, only MediaCodec can know the pattern, which impossibilitates the use of app-bundled decoders. Bug: 158743263 Test: atest CtsMediaTestCases:MediaCodecTest.testCryptoInfoPattern Change-Id: Iaf77c8ecafad093cfa434a9ac31314895a44e78f