Trait gstreamer::subclass::prelude::BufferPoolImpl
source · pub trait BufferPoolImpl:
BufferPoolImplExt
+ GstObjectImpl
+ Send
+ Sync {
// Provided methods
fn acquire_buffer(
&self,
params: Option<&BufferPoolAcquireParams>,
) -> Result<Buffer, FlowError> { ... }
fn alloc_buffer(
&self,
params: Option<&BufferPoolAcquireParams>,
) -> Result<Buffer, FlowError> { ... }
fn flush_start(&self) { ... }
fn flush_stop(&self) { ... }
fn free_buffer(&self, buffer: Buffer) { ... }
fn release_buffer(&self, buffer: Buffer) { ... }
fn reset_buffer(&self, buffer: &mut BufferRef) { ... }
fn start(&self) -> bool { ... }
fn stop(&self) -> bool { ... }
fn options() -> &'static [&'static str] { ... }
fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool { ... }
}
Provided Methods§
fn acquire_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>
fn alloc_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>
fn flush_start(&self)
fn flush_stop(&self)
fn free_buffer(&self, buffer: Buffer)
fn release_buffer(&self, buffer: Buffer)
fn reset_buffer(&self, buffer: &mut BufferRef)
fn start(&self) -> bool
fn stop(&self) -> bool
fn options() -> &'static [&'static str]
fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool
Object Safety§
This trait is not object safe.