Struct gstreamer_base_sys::GstBaseSrcClass[][src]

#[repr(C)]
pub struct GstBaseSrcClass {
Show 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: GstElementClassget_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.