re_video::decode

Function new_decoder

Source
pub fn new_decoder(
    debug_name: &str,
    video: &VideoData,
    decode_settings: &DecodeSettings,
    on_output: impl Fn(Result<Frame>) + Send + Sync + 'static,
) -> Result<Box<dyn AsyncDecoder>>
Expand description

Creates a new async decoder for the given video data.