Struct gstreamer_sys::GstBufferPoolClass
source · #[repr(C)]pub struct GstBufferPoolClass {Show 13 fields
pub object_class: GstObjectClass,
pub get_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>,
pub set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>,
pub start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>,
pub acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>,
pub alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>,
pub reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>,
pub flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>,
pub _gst_reserved: [gpointer; 2],
}
Fields§
§object_class: GstObjectClass
§get_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>
§set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>
§start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>
§stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>
§acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>
§alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>
§reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>
§flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>
§_gst_reserved: [gpointer; 2]
Trait Implementations§
source§impl Clone for GstBufferPoolClass
impl Clone for GstBufferPoolClass
source§fn clone(&self) -> GstBufferPoolClass
fn clone(&self) -> GstBufferPoolClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more