Skip to main content

try_empty_video_frame

Function try_empty_video_frame 

Source
pub fn try_empty_video_frame() -> Option<VideoFrame<PixelFormat, VideoFrameExtra, FfmpegBuffer>>
Expand description

Fallible counterpart to empty_video_frame. Returns None if any of the four placeholder allocations fails.