Struct gstreamer_base_sys::GstBaseSrcClass
source · #[repr(C)]pub struct GstBaseSrcClass {Show 21 fields
pub parent_class: GstElementClass,
pub get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>,
pub negotiate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>,
pub set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> gboolean>,
pub decide_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>,
pub start: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>,
pub get_size: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut u64) -> gboolean>,
pub is_seekable: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub prepare_seek_segment: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent, _: *mut GstSegment) -> gboolean>,
pub do_seek: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstSegment) -> gboolean>,
pub unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
pub query: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>,
pub event: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent) -> gboolean>,
pub create: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
pub alloc: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
pub fill: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
pub _gst_reserved: [gpointer; 20],
}
Fields§
§parent_class: GstElementClass
§get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>
§negotiate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>
§set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> gboolean>
§decide_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>
§start: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>
§get_size: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut u64) -> gboolean>
§is_seekable: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§prepare_seek_segment: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent, _: *mut GstSegment) -> gboolean>
§do_seek: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstSegment) -> gboolean>
§unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>
§query: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>
§event: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent) -> gboolean>
§create: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>
§alloc: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>
§fill: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>
§_gst_reserved: [gpointer; 20]
Trait Implementations§
source§impl Clone for GstBaseSrcClass
impl Clone for GstBaseSrcClass
source§fn clone(&self) -> GstBaseSrcClass
fn clone(&self) -> GstBaseSrcClass
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 GstBaseSrcClass
impl Debug for GstBaseSrcClass
impl Copy for GstBaseSrcClass
Auto Trait Implementations§
impl Freeze for GstBaseSrcClass
impl RefUnwindSafe for GstBaseSrcClass
impl !Send for GstBaseSrcClass
impl !Sync for GstBaseSrcClass
impl Unpin for GstBaseSrcClass
impl UnwindSafe for GstBaseSrcClass
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
)