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

The isLastBuffer flag passed to MediaCodecRenderer.processOutputBuffer() is unreliable. It is true for the last frames (plural) of a video stream, which makes it possible for the video renderer to end before all the frames have been rendered to the output surface. PiperOrigin-RevId: 700941685