[][src]Trait gstreamer_base::subclass::prelude::BaseParseImpl

pub trait BaseParseImpl: BaseParseImplExt + ElementImpl + Send + Sync + 'static {
    fn start(&self, element: &BaseParse) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &BaseParse) -> Result<(), ErrorMessage> { ... }
fn set_sink_caps(
        &self,
        element: &BaseParse,
        caps: &Caps
    ) -> Result<(), ErrorMessage> { ... }
fn handle_frame<'a>(
        &'a self,
        element: &BaseParse,
        frame: BaseParseFrame<'_>
    ) -> Result<(FlowSuccess, u32), FlowError> { ... }
fn convert<V: Into<GenericFormattedValue>>(
        &self,
        element: &BaseParse,
        src_val: V,
        dest_format: Format
    ) -> Option<GenericFormattedValue> { ... } }

Provided methods

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

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

fn set_sink_caps(
    &self,
    element: &BaseParse,
    caps: &Caps
) -> Result<(), ErrorMessage>

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

fn convert<V: Into<GenericFormattedValue>>(
    &self,
    element: &BaseParse,
    src_val: V,
    dest_format: Format
) -> Option<GenericFormattedValue>

Loading content...

Implementors

Loading content...