[][src]Struct ac_ffmpeg::codec::bsf::BitstreamFilterBuilder

pub struct BitstreamFilterBuilder { /* fields omitted */ }

A builder for bitstream filters.

Implementations

impl BitstreamFilterBuilder[src]

pub fn input_time_base(self, time_base: TimeBase) -> Self[src]

Set input time base. By default it's in microseconds. All input packets will be rescaled to this time base before passing them to the filter.

pub fn input_codec_parameters(self, codec_parameters: &CodecParameters) -> Self[src]

Set input codec parameters.

pub fn output_time_base(self, time_base: TimeBase) -> Self[src]

Set output time base. By default it's in microseconds. All output packets will use this time base.

pub fn output_codec_parameters(self, codec_parameters: &CodecParameters) -> Self[src]

Set output codec parameters.

pub fn build(self) -> Result<BitstreamFilter, Error>[src]

Build the bitstream filter.

Trait Implementations

impl Drop for BitstreamFilterBuilder[src]

impl Send for BitstreamFilterBuilder[src]

impl Sync for BitstreamFilterBuilder[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, 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.