Skip to content
Snippets Groups Projects
Commit 5efc8f18 authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

C2VdaBqBlockPool: avoid unnecessary allowAllocation call

This CL tracks the current status of allowAllocation(). If the target
status is the same as the expected status, then we skip the call.
Also, this CL disables allocation when we dequeue more buffers then
requested.

Bug: 160110407
Test: android.media.cts.AdaptivePlaybackTest

Change-Id: I860db3be92b06f18c7f5a0e7b6a391ccd26bb6f6
parent 2ff3089a
No related branches found
No related tags found
No related merge requests found
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