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

Adding a protected method for that allows to supply a customized TrackOutputProvider to the ExtractorWrapper used by the ContainerMediaChunk (e.g. for logging purposes). The alternative would be to provide a TrackOutputProvider through the ChunkSampleStream constructor, but the extra initialization taking place in the ChunkSampleStream constructor would need to move somewhere else and some methods of BaseMediaChunkOutput would need to move to the TrackOutputProvider interface. This seems too much effort for niche customization case. PiperOrigin-RevId: 242448776