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

pub trait BaseSinkImpl: BaseSinkImplExt + ElementImpl + Send + Sync + 'static {
    fn start(&self, element: &BaseSink) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &BaseSink) -> Result<(), ErrorMessage> { ... }
fn render(
        &self,
        element: &BaseSink,
        buffer: &Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn prepare(
        &self,
        element: &BaseSink,
        buffer: &Buffer
    ) -> Result<FlowSuccess, FlowError> { ... }
fn render_list(
        &self,
        element: &BaseSink,
        list: &BufferList
    ) -> Result<FlowSuccess, FlowError> { ... }
fn prepare_list(
        &self,
        element: &BaseSink,
        list: &BufferList
    ) -> Result<FlowSuccess, FlowError> { ... }
fn query(&self, element: &BaseSink, query: &mut QueryRef) -> bool { ... }
fn event(&self, element: &BaseSink, event: Event) -> bool { ... }
fn get_caps(
        &self,
        element: &BaseSink,
        filter: Option<&Caps>
    ) -> Option<Caps> { ... }
fn set_caps(
        &self,
        element: &BaseSink,
        caps: &Caps
    ) -> Result<(), LoggableError> { ... }
fn fixate(&self, element: &BaseSink, caps: Caps) -> Caps { ... }
fn unlock(&self, element: &BaseSink) -> Result<(), ErrorMessage> { ... }
fn unlock_stop(&self, element: &BaseSink) -> Result<(), ErrorMessage> { ... } }

Provided methods

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...