[][src]Trait gstreamer_base::subclass::base_sink::BaseSinkImplExt

pub trait BaseSinkImplExt {
    fn parent_start(&self, element: &BaseSink) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &BaseSink) -> Result<(), ErrorMessage>;
fn parent_render(
        &self,
        element: &BaseSink,
        buffer: &Buffer
    ) -> Result<FlowSuccess, FlowError>;
fn parent_prepare(
        &self,
        element: &BaseSink,
        buffer: &Buffer
    ) -> Result<FlowSuccess, FlowError>;
fn parent_render_list(
        &self,
        element: &BaseSink,
        list: &BufferList
    ) -> Result<FlowSuccess, FlowError>;
fn parent_prepare_list(
        &self,
        element: &BaseSink,
        list: &BufferList
    ) -> Result<FlowSuccess, FlowError>;
fn parent_query(&self, element: &BaseSink, query: &mut QueryRef) -> bool;
fn parent_event(&self, element: &BaseSink, event: Event) -> bool;
fn parent_get_caps(
        &self,
        element: &BaseSink,
        filter: Option<&Caps>
    ) -> Option<Caps>;
fn parent_set_caps(
        &self,
        element: &BaseSink,
        caps: &Caps
    ) -> Result<(), LoggableError>;
fn parent_fixate(&self, element: &BaseSink, caps: Caps) -> Caps;
fn parent_unlock(&self, element: &BaseSink) -> Result<(), ErrorMessage>;
fn parent_unlock_stop(&self, element: &BaseSink) -> Result<(), ErrorMessage>; }

Required methods

fn parent_start(&self, element: &BaseSink) -> Result<(), ErrorMessage>

fn parent_stop(&self, element: &BaseSink) -> Result<(), ErrorMessage>

fn parent_render(
    &self,
    element: &BaseSink,
    buffer: &Buffer
) -> Result<FlowSuccess, FlowError>

fn parent_prepare(
    &self,
    element: &BaseSink,
    buffer: &Buffer
) -> Result<FlowSuccess, FlowError>

fn parent_render_list(
    &self,
    element: &BaseSink,
    list: &BufferList
) -> Result<FlowSuccess, FlowError>

fn parent_prepare_list(
    &self,
    element: &BaseSink,
    list: &BufferList
) -> Result<FlowSuccess, FlowError>

fn parent_query(&self, element: &BaseSink, query: &mut QueryRef) -> bool

fn parent_event(&self, element: &BaseSink, event: Event) -> bool

fn parent_get_caps(
    &self,
    element: &BaseSink,
    filter: Option<&Caps>
) -> Option<Caps>

fn parent_set_caps(
    &self,
    element: &BaseSink,
    caps: &Caps
) -> Result<(), LoggableError>

fn parent_fixate(&self, element: &BaseSink, caps: Caps) -> Caps

fn parent_unlock(&self, element: &BaseSink) -> Result<(), ErrorMessage>

fn parent_unlock_stop(&self, element: &BaseSink) -> Result<(), ErrorMessage>

Loading content...

Implementors

impl<T: BaseSinkImpl + ObjectImpl> BaseSinkImplExt for T[src]

Loading content...