mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +08:00

Some calls to handleBuffer return false while a previous flush is still handled in the background. Fix this by either asserting the method returns true if we don't expect any delay, or calling it repeatedly until it returns true (within a timeout). PiperOrigin-RevId: 460474419