Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e726e56d authored by Ram Mohan's avatar Ram Mohan
Browse files

C2SoftMpeg4Enc: Let encoder library choose apt profile and level

Encoder libraries tends to adjusts the level information configured
to the necessary value if the configured value does not comply with
encoding settings. But aosp mpeg4/h263 enc fails from instantiation
when the configured profile and level information is not in accordance
with the encoding settings.

So, always configure the max profile and level supported and let
the library choose an apt profile and level to place in the bitstream.

Bug: 277528543
Test: atest android.mediav2.cts.EncoderProfileLevelTest \
      android.media.codec.cts.MediaCodecTest#testVendorParameters

Change-Id: I7a9359ff4417c36caa7780e30f558cadfb7289e7
parent d78c656e
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