Trait gstreamer_base::subclass::base_parse::BaseParseImpl

source ·
pub trait BaseParseImpl: BaseParseImplExt + ElementImpl {
    // Provided methods
    fn start(&self) -> Result<(), ErrorMessage> { ... }
    fn stop(&self) -> Result<(), ErrorMessage> { ... }
    fn set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
    fn handle_frame(
        &self,
        frame: BaseParseFrame<'_>,
    ) -> Result<(FlowSuccess, u32), FlowError> { ... }
    fn convert(
        &self,
        src_val: impl FormattedValue,
        dest_format: Format,
    ) -> Option<GenericFormattedValue> { ... }
}

Provided Methods§

source

fn start(&self) -> Result<(), ErrorMessage>

source

fn stop(&self) -> Result<(), ErrorMessage>

source

fn set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError>

source

fn handle_frame( &self, frame: BaseParseFrame<'_>, ) -> Result<(FlowSuccess, u32), FlowError>

source

fn convert( &self, src_val: impl FormattedValue, dest_format: Format, ) -> Option<GenericFormattedValue>

Object Safety§

This trait is not object safe.

Implementors§