Skip to main content

validate_stream

Function validate_stream 

Source
pub fn validate_stream(info: &StreamInfo) -> Result<(), ValidationError>
Expand description

Gate a demuxed stream against the reference resolution/frame-rate/duration/ pixel-format policy. Accepts Yuv420p, Yuv420p10le, Yuv444p10le, Yuva444p10le (the 4:4:4 formats are downsampled to 4:2:0 by the engine).