commit | 7c887bf67c48602c90eaf6267530cd863efcde0d | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Mon Apr 24 16:38:20 2023 -0700 |
committer | Lajos Molnar <lajos@google.com> | Tue Apr 25 10:33:06 2023 -0700 |
tree | da3ca5efff4519195a74a9321e9d7a2707b06552 | |
parent | 003409139441e1567468ec52992fd4e570340afb [diff] |
MediaCodecInfo: consider only critical flags for level support check isFormatSupported() checks that the format confirms to the highest level advertised by the codec for the desired profile if the format contains a profile. This additional check uses a capabilities object synthesized from only the profile/level, so consider only the format keys that are relevant for a level check for this. Bug: 278575882 Change-Id: Ide3782882216135e5fac4f53bab21123a73f87b3