mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00

We want to skip the buffers in sync with playback, which only makes progress once started. This means we can simplify the logic to only apply the 30ms threashold when started (which was indirectly the threashold used already because the frame release would return TRY_AGAIN_LATER). This means we can remove the shouldSkipLateBuffersWhileUsingPlaceholderSurface as it was only used in tests to prevent skipping while we were not started. PiperOrigin-RevId: 736533043 (cherry picked from commit 816d5cb86b13629a7ca23dba122f943f175d3bb9)