#[repr(C)]pub struct AVInputFormat {
pub name: *const i8,
pub long_name: *const i8,
pub flags: i32,
pub extensions: *const i8,
pub codec_tag: *const *const AVCodecTag,
pub priv_class: *const AVClass,
pub mime_type: *const i8,
}
Expand description
@addtogroup lavf_decoding @{
Fields§
§name: *const i8
A comma separated list of short names for the format. New names may be appended with a minor bump.
long_name: *const i8
Descriptive name for the format, meant to be more human-readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it.
flags: i32
Can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_SHOW_IDS, AVFMT_NOTIMESTAMPS, AVFMT_GENERIC_INDEX, AVFMT_TS_DISCONT, AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH, AVFMT_NO_BYTE_SEEK, AVFMT_SEEK_TO_PTS.
extensions: *const i8
If extensions are defined, then no probe is done. You should usually not use extension format guessing because it is not reliable enough
codec_tag: *const *const AVCodecTag
§priv_class: *const AVClass
< AVClass for the private context
mime_type: *const i8
Comma-separated list of mime types. It is used check for matching mime types while probing. @see av_probe_input_format2
Trait Implementations§
Source§impl Clone for AVInputFormat
impl Clone for AVInputFormat
Source§fn clone(&self) -> AVInputFormat
fn clone(&self) -> AVInputFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AVInputFormat
impl Debug for AVInputFormat
impl Copy for AVInputFormat
Auto Trait Implementations§
impl Freeze for AVInputFormat
impl RefUnwindSafe for AVInputFormat
impl !Send for AVInputFormat
impl !Sync for AVInputFormat
impl Unpin for AVInputFormat
impl UnwindSafe for AVInputFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more