Skip to main content

Format

Trait Format 

Source
pub trait Format: Send + Sync {
    // Required method
    fn set_option(&mut self, key: &str, value: &Variant) -> Result<(), Error>;
}
Expand description

Base trait for all media format implementations

Required Methods§

Source

fn set_option(&mut self, key: &str, value: &Variant) -> Result<(), Error>

Set a format-specific option

Implementations on Foreign Types§

Source§

impl Format for Mp4Demuxer

Source§

fn set_option(&mut self, _key: &str, _value: &Variant) -> Result<(), Error>

Source§

impl Format for MkvDemuxer

Source§

fn set_option(&mut self, _key: &str, _value: &Variant) -> Result<(), Error>

Implementors§