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

pub trait BaseParseImpl: BaseParseImplExt + ElementImpl + Send + Sync + 'static {
    fn convert<V: Into<GenericFormattedValue>>(
        &self,
        element: &BaseParse,
        src_val: V,
        dest_format: Format
    ) -> Option<GenericFormattedValue>; fn start(&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> { ... } }

Required methods

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

Loading content...

Provided methods

fn start(&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>

Loading content...

Implementors

Loading content...