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

Skip to content
Commit b5ec89ec authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

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
parent 0549e1a0
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