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

When a reset is pending the sample queues normally contain pre-seek samples (which will be emptied when a pending load is canceled). The position passed to discard will be a post-seek position. I don't think anything bad happened in any of the cases being changed, but discarding is unnecessary in such cases, and reasoning about such cases is difficult. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212435556