Function avformat_match_stream_specifier

Source
pub unsafe extern "C" fn avformat_match_stream_specifier(
    s: *mut AVFormatContext,
    st: *mut AVStream,
    spec: *const c_char,
) -> c_int
Expand description

Check if the stream st contained in s is matched by the stream specifier spec.

See the “stream specifiers” chapter in the documentation for the syntax of spec.

@return >0 if st is matched by spec; 0 if st is not matched by spec; AVERROR code if spec is invalid

@note A stream specifier can match several streams in the format.