mirror of
https://github.com/androidx/media.git
synced 2025-05-15 03:29:53 +08:00

Callbacks onTrackCount and onTrackAdded can be called simultaneously from different threads. Before this fix, it was possible for the MuxerWrapper and FallbackListener track count to never be set, or to be set with incorrect values. PiperOrigin-RevId: 514779719