Skip to main content

sample_profile

Function sample_profile 

Source
pub fn sample_profile(format: AVPixelFormat) -> Option<SampleProfile>
Expand description

Describes a pixel format, or None when the value has no descriptor.

A container may leave a stream’s format unset until the first frame is decoded, so callers treat None as “not yet known” rather than as a rejection.