diff options
author | 2022-01-11 11:14:44 -0800 | |
---|---|---|
committer | 2023-01-12 22:08:25 +0000 | |
commit | 66d83488af88b3067bcf24f975398e04108dd8a2 (patch) | |
tree | 2ce045c12e36a411522459fbc7fc8f13d74fb7f6 /libs/gui/LayerState.cpp | |
parent | 4cd0373251a9841920d26ccd6b0b50583b9ad026 (diff) |
Always provide metadata blob for hdr frames
If a surface is playing HDR10+ video and switches to content with a
different HDR standard, then the HDR10+ metadata must be cleared. In
particular, HLG is a standard that does not use HDR metadata, so
unfortunately sending nothing does not imply clearing the existing
metadata. So, we can fix this by sending an empty packet for per-frame
metadata.
Bug: 212496177
Test: builds
Change-Id: Ie3476c9d9bf32f789fdaad5a4fc3cc08e9adcce9
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions