Struct ffmpeg_sys_next::AVCodecDescriptor [−][src]
#[repr(C)]pub struct AVCodecDescriptor { pub id: AVCodecID, pub type_: AVMediaType, pub name: *const c_char, pub long_name: *const c_char, pub props: c_int, pub mime_types: *const *const c_char, pub profiles: *const AVProfile, }
Expand description
This struct describes the properties of a single codec described by an AVCodecID. @see avcodec_descriptor_get()
Fields
id: AVCodecID
type_: AVMediaType
name: *const c_char
Name of the codec described by this descriptor. It is non-empty and unique for each codec descriptor. It should contain alphanumeric characters and ‘_’ only.
long_name: *const c_char
A more descriptive name for this codec. May be NULL.
props: c_int
Codec properties, a combination of AV_CODEC_PROP_* flags.
mime_types: *const *const c_char
MIME type(s) associated with the codec. May be NULL; if not, a NULL-terminated array of MIME types. The first item is always non-NULL and is the preferred MIME type.
profiles: *const AVProfile
If non-NULL, an array of profiles recognized for this codec. Terminated with FF_PROFILE_UNKNOWN.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AVCodecDescriptor
impl !Send for AVCodecDescriptor
impl !Sync for AVCodecDescriptor
impl Unpin for AVCodecDescriptor
impl UnwindSafe for AVCodecDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more