Skip to main content

supported_sample_formats

Function supported_sample_formats 

Source
pub fn supported_sample_formats<T>(
    codec: Codec<T>,
    ctx: Option<&Context>,
) -> Result<Supported<SampleFormatIter<'_>>, Error>
Expand description

Low-level function interacting with the FFmpeg API via avcodec_get_supported_config(). Consider using one of the convenience methods on the codecs or codec contexts instead.