[][src]Struct stainless_ffmpeg_sys::AVCodecDescriptor

#[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,
}

This struct describes the properties of a single codec described by an AVCodecID. @see avcodec_descriptor_get()

Fields

id: AVCodecIDtype_: AVMediaTypename: *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

impl Clone for AVCodecDescriptor[src]

impl Copy for AVCodecDescriptor[src]

impl Debug for AVCodecDescriptor[src]

impl Eq for AVCodecDescriptor[src]

impl PartialEq<AVCodecDescriptor> for AVCodecDescriptor[src]

impl StructuralEq for AVCodecDescriptor[src]

impl StructuralPartialEq for AVCodecDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.