Trait gstreamer_base::prelude::BaseSrcExt [−][src]
pub trait BaseSrcExt { fn get_blocksize(&self) -> u32; fn get_buffer_pool(&self) -> Option<BufferPool>; fn get_do_timestamp(&self) -> bool; fn is_async(&self) -> bool; fn is_live(&self) -> bool; fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool; fn query_latency(&self) -> Option<(bool, ClockTime, ClockTime)>; fn set_async(&self, async: bool); fn set_automatic_eos(&self, automatic_eos: bool); fn set_blocksize(&self, blocksize: u32); fn set_caps(&self, caps: &Caps) -> bool; fn set_do_timestamp(&self, timestamp: bool); fn set_dynamic_size(&self, dynamic: bool); fn set_format(&self, format: Format); fn set_live(&self, live: bool); fn start_complete(&self, ret: FlowReturn); fn start_wait(&self) -> FlowReturn; fn wait_playing(&self) -> FlowReturn; fn get_property_num_buffers(&self) -> i32; fn set_property_num_buffers(&self, num_buffers: i32); fn get_property_typefind(&self) -> bool; fn set_property_typefind(&self, typefind: bool); fn connect_property_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_do_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_num_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_typefind_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn get_blocksize(&self) -> u32
fn get_buffer_pool(&self) -> Option<BufferPool>
fn get_do_timestamp(&self) -> bool
fn is_async(&self) -> bool
fn is_live(&self) -> bool
fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool
fn query_latency(&self) -> Option<(bool, ClockTime, ClockTime)>
fn set_async(&self, async: bool)
fn set_automatic_eos(&self, automatic_eos: bool)
fn set_blocksize(&self, blocksize: u32)
fn set_caps(&self, caps: &Caps) -> bool
fn set_do_timestamp(&self, timestamp: bool)
fn set_dynamic_size(&self, dynamic: bool)
fn set_format(&self, format: Format)
fn set_live(&self, live: bool)
fn start_complete(&self, ret: FlowReturn)
fn start_wait(&self) -> FlowReturn
fn wait_playing(&self) -> FlowReturn
fn get_property_num_buffers(&self) -> i32
fn set_property_num_buffers(&self, num_buffers: i32)
fn get_property_typefind(&self) -> bool
fn set_property_typefind(&self, typefind: bool)
fn connect_property_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_do_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_num_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_typefind_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId