commit | 66d83488af88b3067bcf24f975398e04108dd8a2 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Tue Jan 11 11:14:44 2022 -0800 |
committer | Sally Qi <sallyqi@google.com> | Thu Jan 12 22:08:25 2023 +0000 |
tree | 2ce045c12e36a411522459fbc7fc8f13d74fb7f6 | |
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