mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The original change did not set the color info in the codec for standard SDR infos. This was meant to help with consistency to avoid a situation where the information is partially set and later the bitstream provides slightly different values (all in standard SDR though). We can revert this part because the bitstream may change anyway and the decoder needs to handle this internally. And more importantly, it also avoids removing this information when encoding the format again in Transformer. PiperOrigin-RevId: 617582066 (cherry picked from commit ed505df2cac9a243a29f4d1e170860fb3c66d4aa)