commit | b5ec89ecb25d464e443f74c88dd945adcd2154c1 | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Tue Feb 09 17:37:32 2021 +0900 |
committer | Chih-Yu Huang <akahuang@google.com> | Mon Mar 01 12:49:24 2021 +0900 |
tree | 1c2e1947f4fab2c7ce293dc7b6f2dc999bb26d06 | |
parent | 0549e1a0437354f4a34b6948ee29550abfd785e5 [diff] |
Update usage of GraphicBuffer at buffer migration When migrating buffers to the new surface, the consumer usage might be changed. If the usage is mismatched, the attached buffer will be still dropped when dequeueing from IGBP. This CL updates the usage of GraphicBuffer with the consumer usage of the new surface when buffer migration. Bug: 174188958 Test: android.media.cts.MediaCodecPlayerTest#testPlaybackSwitchViews Change-Id: Iabae61743891f8ff6a75b56eab7dc2f7b2ece8bd