Struct gstreamer_base_sys::GstBaseSinkClass
source · #[repr(C)]pub struct GstBaseSinkClass {Show 20 fields
pub parent_class: GstElementClass,
pub get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>,
pub set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> gboolean>,
pub fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>,
pub activate_pull: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: gboolean) -> gboolean>,
pub get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>,
pub propose_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>,
pub start: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>,
pub unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>,
pub unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>,
pub query: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>,
pub event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> gboolean>,
pub wait_event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> GstFlowReturn>,
pub prepare: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>,
pub prepare_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>,
pub preroll: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>,
pub render: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>,
pub render_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>,
pub _gst_reserved: [gpointer; 20],
}
Fields§
§parent_class: GstElementClass
§get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>
§set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> gboolean>
§fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>
§activate_pull: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: gboolean) -> gboolean>
§get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>
§propose_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>
§start: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>
§stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>
§unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>
§unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>
§query: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>
§event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> gboolean>
§wait_event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> GstFlowReturn>
§prepare: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>
§prepare_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>
§preroll: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>
§render: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>
§render_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>
§_gst_reserved: [gpointer; 20]
Trait Implementations§
source§impl Clone for GstBaseSinkClass
impl Clone for GstBaseSinkClass
source§fn clone(&self) -> GstBaseSinkClass
fn clone(&self) -> GstBaseSinkClass
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 moresource§impl Debug for GstBaseSinkClass
impl Debug for GstBaseSinkClass
impl Copy for GstBaseSinkClass
Auto Trait Implementations§
impl Freeze for GstBaseSinkClass
impl RefUnwindSafe for GstBaseSinkClass
impl !Send for GstBaseSinkClass
impl !Sync for GstBaseSinkClass
impl Unpin for GstBaseSinkClass
impl UnwindSafe for GstBaseSinkClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)