Trait gstreamer_base::subclass::prelude::BaseSinkImpl

source ·
pub trait BaseSinkImpl: BaseSinkImplExt + ElementImpl {
Show 14 methods // Provided methods fn start(&self) -> Result<(), ErrorMessage> { ... } fn stop(&self) -> Result<(), ErrorMessage> { ... } fn render(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError> { ... } fn prepare(&self, buffer: &Buffer) -> Result<FlowSuccess, FlowError> { ... } fn render_list(&self, list: &BufferList) -> Result<FlowSuccess, FlowError> { ... } fn prepare_list(&self, list: &BufferList) -> Result<FlowSuccess, FlowError> { ... } fn query(&self, query: &mut QueryRef) -> bool { ... } fn event(&self, event: Event) -> bool { ... } fn caps(&self, filter: Option<&Caps>) -> Option<Caps> { ... } fn set_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... } fn fixate(&self, caps: Caps) -> Caps { ... } fn unlock(&self) -> Result<(), ErrorMessage> { ... } fn unlock_stop(&self) -> Result<(), ErrorMessage> { ... } fn propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError> { ... }
}

Provided Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

fn caps(&self, filter: Option<&Caps>) -> Option<Caps>

source

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

source

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

source

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

source

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

source

fn propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>

Object Safety§

This trait is not object safe.

Implementors§