[−][src]Trait av_codec::common::CodecList
Defines a series of methods to interact with a list of codec descriptors.
Associated Types
Loading content...Required methods
pub fn new() -> Self[src]
Creates a new codec list.
pub fn by_name(&self, name: &str) -> Option<&'static Self::D>[src]
Search by name whether a codec descriptor is in the codec list and returns it.
If the requested codec descriptor is not in the list,
None is returned.
pub fn append(&mut self, desc: &'static Self::D)[src]
Appends a codec to the list.
Provided methods
pub fn from_list(descs: &[&'static Self::D]) -> Self[src]
Creates a new codec list starting from a list of codec descriptors.