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

Skip to content
Commit 1c144d88 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

MediaCodecInfo: Change default alignment and block size to 1x1

Default alignment and block size were set to 2x2 earlier.
And even when the codec advertised alignment of 1x1, MediaCodecInfo
was returning 2x2 because it was picking max of default values and
what was advertised by codecs.

Bug: 325679394
Bug: 329378524
Test: atest CtsMediaMiscTestCases:MediaCodecListTest
Test: atest CtsMediaV2TestCases:CodecInfoTest passes for codecs
 that advertise 1x1 alignment

Change-Id: I25af7fb09ab9edf8e1d1dea7bac633b1353b4e48
parent ff8a5a36
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