[][src]Trait av_codec::encoder::Descriptor

pub trait Descriptor {
    pub fn create(&self) -> Box<dyn Encoder>;
pub fn describe(&self) -> &Descr; }

Used to get the descriptor of a codec and create its own encoder.

Required methods

pub fn create(&self) -> Box<dyn Encoder>[src]

Creates a new encoder for the requested codec.

pub fn describe(&self) -> &Descr[src]

Returns the codec descriptor.

Loading content...

Implementors

Loading content...