Skip to content
Commit e422c995 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

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
Merged-in: Ide3782882216135e5fac4f53bab21123a73f87b3
parent b36fa772
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment