Function re_video::decode::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.