DescriptionRemove MediaCodecBridge::GetOutputBuffersCount() and GetOutputBuffersCapacity()
The calls were deprecated here: https://crrev.com/669623004, and this broke HW VP8 encoding. This is because GetOutputBuffersCapacity() returns -1, causing an invalid shared memory allocation.
This CL removes the need for GetOutputBuffersCount() and GetOutputBuffersCapacity() and replaces them with reasonable defaults instead.
HW VP8 encoding will still not work after this CL, because another CL broke it as well: https://crrev.com/1472943002. That will be fixed in a follow-up CL.
BUG=445320
Committed: https://crrev.com/9dab4cbf48d2a8828915beaf7c90c6607d48d68b
Cr-Commit-Position: refs/heads/master@{#374971}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressing comments #
Messages
Total messages: 21 (10 generated)
|