Returning buffers more than C2LargeFrame.maxSize
MultiAccessUnitHelper will now returns the entire
access unit from an encoding component even if the its
size is more than the configured maxSize with a warning.
This is to make sure we gracefully handle the condition
when the underlying component doesn't report
C2StreamMaxBufferSizeInfo properly
Bug: 335711421
Test: atest android.mediav2.cts.CodecEncoderMultiAccessUnitTest
Test: atest android.mediav2.cts.CodecEncoderBlockModelMultiAccessUnitTest
Flag: com.android.media.codec.flags.large_audio_frame
Change-Id: I1b67cc8eb5870751ed393e95da4007d716e9a2e5
1 file changed