mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

Currently, a frame is dropped if it's requested release time is in the past. This mode was added to support previewing. However, in normal ExoPlayer playback, slightly late frames (<30ms late) are also rendered. On MediaCodec side, this means calling `releaseOutputBuffer` with a release time in the past. PiperOrigin-RevId: 479615291 (cherry picked from commit a426cb27c0d0c85bd6cb4c04cb27957e3075754c)