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

Previously, if renderFramesAutomatically = false, DefaultVideoFrameProcessor may call onInputStreamProcessedListener after all frames have been onOutputFrameAvailableForRendering, but before they had all been rendered and freed. Delay onInputStreamProcessedListener being called and subsequent DVFP reconfiguration of effects, until all frames are rendered. Tested using exoplayer setVideoEffects demo with playlist PiperOrigin-RevId: 642963100