Trait gstreamer_base::BaseSinkExt [−][src]
pub trait BaseSinkExt { fn get_blocksize(&self) -> u32; fn get_drop_out_of_segment(&self) -> bool; fn get_last_sample(&self) -> Option<Sample>; fn get_latency(&self) -> ClockTime; fn get_max_bitrate(&self) -> u64; fn get_max_lateness(&self) -> i64; fn get_render_delay(&self) -> ClockTime; fn get_sync(&self) -> bool; fn get_throttle_time(&self) -> u64; fn get_ts_offset(&self) -> ClockTimeDiff; fn is_async_enabled(&self) -> bool; fn is_last_sample_enabled(&self) -> bool; fn is_qos_enabled(&self) -> bool; fn query_latency(&self) -> Option<(bool, bool, ClockTime, ClockTime)>; fn set_async_enabled(&self, enabled: bool); fn set_blocksize(&self, blocksize: u32); fn set_drop_out_of_segment(&self, drop_out_of_segment: bool); fn set_last_sample_enabled(&self, enabled: bool); fn set_max_bitrate(&self, max_bitrate: u64); fn set_max_lateness(&self, max_lateness: i64); fn set_qos_enabled(&self, enabled: bool); fn set_render_delay(&self, delay: ClockTime); fn set_sync(&self, sync: bool); fn set_throttle_time(&self, throttle: u64); fn set_ts_offset(&self, offset: ClockTimeDiff); fn wait(&self, time: ClockTime) -> (FlowReturn, ClockTimeDiff); fn wait_clock(&self, time: ClockTime) -> (ClockReturn, ClockTimeDiff); fn wait_preroll(&self) -> FlowReturn; fn get_property_async(&self) -> bool; fn set_property_async(&self, async: bool); fn get_property_enable_last_sample(&self) -> bool; fn set_property_enable_last_sample(&self, enable_last_sample: bool); fn get_property_qos(&self) -> bool; fn set_property_qos(&self, qos: bool); fn connect_property_async_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_enable_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_max_bitrate_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_max_lateness_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_render_delay_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_sync_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_throttle_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_ts_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn get_blocksize(&self) -> u32
fn get_drop_out_of_segment(&self) -> bool
fn get_last_sample(&self) -> Option<Sample>
fn get_latency(&self) -> ClockTime
fn get_max_bitrate(&self) -> u64
fn get_max_lateness(&self) -> i64
fn get_render_delay(&self) -> ClockTime
fn get_sync(&self) -> bool
fn get_throttle_time(&self) -> u64
fn get_ts_offset(&self) -> ClockTimeDiff
fn is_async_enabled(&self) -> bool
fn is_last_sample_enabled(&self) -> bool
fn is_qos_enabled(&self) -> bool
fn query_latency(&self) -> Option<(bool, bool, ClockTime, ClockTime)>
fn set_async_enabled(&self, enabled: bool)
fn set_blocksize(&self, blocksize: u32)
fn set_drop_out_of_segment(&self, drop_out_of_segment: bool)
fn set_last_sample_enabled(&self, enabled: bool)
fn set_max_bitrate(&self, max_bitrate: u64)
fn set_max_lateness(&self, max_lateness: i64)
fn set_qos_enabled(&self, enabled: bool)
fn set_render_delay(&self, delay: ClockTime)
fn set_sync(&self, sync: bool)
fn set_throttle_time(&self, throttle: u64)
fn set_ts_offset(&self, offset: ClockTimeDiff)
fn wait(&self, time: ClockTime) -> (FlowReturn, ClockTimeDiff)
fn wait_clock(&self, time: ClockTime) -> (ClockReturn, ClockTimeDiff)
fn wait_preroll(&self) -> FlowReturn
fn get_property_async(&self) -> bool
fn set_property_async(&self, async: bool)
fn get_property_enable_last_sample(&self) -> bool
fn set_property_enable_last_sample(&self, enable_last_sample: bool)
fn get_property_qos(&self) -> bool
fn set_property_qos(&self, qos: bool)
fn connect_property_async_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_enable_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_bitrate_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_lateness_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_render_delay_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_sync_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_throttle_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_ts_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId