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

The method allows extractors to set track duration when available. The `default` implementation does nothing, allowing implementers of `TrackOutput` to override it if they need to handle track duration. Implemented it in `FakeExtractor` to print track duration in dump files. PiperOrigin-RevId: 688110288