SIGN IN SIGN UP

Strip HEVC T.35 metadata when applying container HAGC

This ensures that in-band HDR10+ metadata does not override container
HAGC metadata for HEVC streams, similar to the AV1 implementation.

We perform the stripping efficiently in the VideoRenderer by changing
the T.35 SEI message's payloadType from 4 (T.35) to 255 (Unspecified)
in-place, which avoids array reallocations and requires no extractor
changes.

#cherrypick

PiperOrigin-RevId: 947817195
(cherry picked from commit 670e589441e5345b5aaf5afaf359ee5dae032f39)
R
rohks committed
dad705254f16b5b276bf56929736f461359ca1ee
Parent: e906839
Committed by Tianyi Feng <tianyifeng@google.com> on 7/14/2026, 6:44:27 PM