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§
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>
Object Safety§
This trait is not object safe.