media/libraries/extractor/src
tianyifeng 1c1ca3edaf Defer outputting the metadata sample when TimestampAdjuster isn't initialized
The sample timestamp carried by the emsg box can have a significant delta when comparing to the earliest presentation timestamp of the segment. Using this timestamp to intialize the timestamp offset in TimestampAdjuster will cause the media sample to have a wrong adjusted timestamp. So we should defer adjusting the metadata sample timestamp until the TimestampAdjuster is initialized with a real media sample.

PiperOrigin-RevId: 538172841
(cherry picked from commit f4bf376e89)
2023-06-12 09:15:51 +00:00
..
main Defer outputting the metadata sample when TimestampAdjuster isn't initialized 2023-06-12 09:15:51 +00:00
test Override ParserException#getMessage 2023-06-12 09:13:53 +00:00