Loading
Fix configuring of unrecognized level values
If bad or unrecognized or unsupported level values are configured, it is possible that they get sent to encoder during configuration. Avoid this and choose an appropriate level basing on encoder config settings Bug: 278199885 Test: atest android.mediav2.cts.EncoderProfileLevelTest Change-Id: I24e3f36487d8f801fa30bdea4c17fb71557f1a95