mirror of
https://github.com/androidx/media.git
synced 2025-05-17 04:29:55 +08:00

- The main goal of this change is to remove the need for discardSamplesForDisabledTracks() in continueBuffering in HlsTrackStreamWrapper and ExtractorSampleSource. As a result we'll also save one Allocation per disabled track. - Another benefit of this change is that Allocator.trim calls can no longer be dropped. This could previously happen on player release if the playback thread's Looper quit before delivery of onLoadCanceled which performed the trim in the case that a load needed to be canceled at the time of the release. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123957434