Function rsmpeg::ffi::avformat_match_stream_specifier [−][src]
pub unsafe extern "C" fn avformat_match_stream_specifier(
s: *mut AVFormatContext,
st: *mut AVStream,
spec: *const i8
) -> i32
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.