Trait gstreamer_video::prelude::BufferPoolExtManual [−][src]
pub trait BufferPoolExtManual {
fn get_config(&self) -> BufferPoolConfig;
fn set_config(&self, config: BufferPoolConfig) -> Result<(), BoolError>;
fn is_flushing(&self) -> bool;
fn acquire_buffer<'a, P>(
&self,
params: P
) -> Result<GstRc<BufferRef>, FlowReturn>
where
P: Into<Option<&'a BufferPoolAcquireParams>>;
fn release_buffer(&self, buffer: GstRc<BufferRef>);
}Required Methods
fn get_config(&self) -> BufferPoolConfig
fn set_config(&self, config: BufferPoolConfig) -> Result<(), BoolError>
fn is_flushing(&self) -> bool
fn acquire_buffer<'a, P>(
&self,
params: P
) -> Result<GstRc<BufferRef>, FlowReturn> where
P: Into<Option<&'a BufferPoolAcquireParams>>,
&self,
params: P
) -> Result<GstRc<BufferRef>, FlowReturn> where
P: Into<Option<&'a BufferPoolAcquireParams>>,
fn release_buffer(&self, buffer: GstRc<BufferRef>)
Implementors
impl<O> BufferPoolExtManual for O where
O: IsA<BufferPool>,