mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00

VideoFrameProcessor requires every input frame to be registered before they are rendered to its input Surface. This CL adds the option to register the input frame only once. This is useful for camera inputs where not all input frames come with changing FrameInfo. PiperOrigin-RevId: 606294894 (cherry picked from commit 216f3fedb857d9a6e0bf846070784c1cc5b7e705)