diff options
| author | 2023-08-02 17:52:43 +0000 | |
|---|---|---|
| committer | 2023-09-08 16:34:24 +0200 | |
| commit | e5374e50fe60e410ff94f20cb64dadcdf18c8ee5 (patch) | |
| tree | 3352266c73066d5ceb27ef2acb3c70bd7eb70b1e /libs/gui/BLASTBufferQueue.cpp | |
| parent | 32295332529e2d68c895875ba6f0a49fb02e1cd5 (diff) | |
Clear unexpected buffer handle of sideband layer
If the buffer handle is not cleared after MediaCodec disconnected
and the surface is re-used for another sideband stream. SurfaceFlinger
would trigger incorrect composition type change from sideband to
device when SurfaceView layout changed.
Clear the buffer if the layer was about to set a new sideband
handle.
Bug: 291202822
Test: Adjust the screen layout after played 2 different sideband
stream. No composition type change.
Change-Id: I0b42d68ea03fb09db9aefc257d6071e559a3d8d2
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions