Trait gstreamer_base::prelude::BaseSinkExt
source · pub trait BaseSinkExt:
IsA<BaseSink>
+ Sealed
+ 'static {
Show 38 methods
// Provided methods
fn blocksize(&self) -> u32 { ... }
fn drops_out_of_segment(&self) -> bool { ... }
fn last_sample(&self) -> Option<Sample> { ... }
fn latency(&self) -> ClockTime { ... }
fn max_bitrate(&self) -> u64 { ... }
fn max_lateness(&self) -> i64 { ... }
fn render_delay(&self) -> ClockTime { ... }
fn is_sync(&self) -> bool { ... }
fn throttle_time(&self) -> u64 { ... }
fn ts_offset(&self) -> ClockTimeDiff { ... }
fn set_blocksize(&self, blocksize: u32) { ... }
fn set_drop_out_of_segment(&self, drop_out_of_segment: bool) { ... }
fn set_max_bitrate(&self, max_bitrate: u64) { ... }
fn set_max_lateness(&self, max_lateness: i64) { ... }
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: impl Into<Option<ClockTime>>,
) -> (Result<FlowSuccess, FlowError>, ClockTimeDiff) { ... }
fn wait_clock(
&self,
time: ClockTime,
) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff) { ... }
fn wait_preroll(&self) -> Result<FlowSuccess, FlowError> { ... }
fn is_async(&self) -> bool { ... }
fn set_async(&self, async_: bool) { ... }
fn enables_last_sample(&self) -> bool { ... }
fn set_enable_last_sample(&self, enable_last_sample: bool) { ... }
fn is_qos(&self) -> bool { ... }
fn set_qos(&self, qos: bool) { ... }
fn connect_async_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_enable_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_max_bitrate_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_max_lateness_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_render_delay_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_sync_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_throttle_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_ts_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn blocksize(&self) -> u32
fn drops_out_of_segment(&self) -> bool
fn last_sample(&self) -> Option<Sample>
fn latency(&self) -> ClockTime
fn max_bitrate(&self) -> u64
fn max_lateness(&self) -> i64
fn render_delay(&self) -> ClockTime
fn is_sync(&self) -> bool
fn throttle_time(&self) -> u64
fn ts_offset(&self) -> ClockTimeDiff
fn set_blocksize(&self, blocksize: u32)
fn set_drop_out_of_segment(&self, drop_out_of_segment: bool)
fn set_max_bitrate(&self, max_bitrate: u64)
fn set_max_lateness(&self, max_lateness: i64)
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: impl Into<Option<ClockTime>>, ) -> (Result<FlowSuccess, FlowError>, ClockTimeDiff)
fn wait_clock( &self, time: ClockTime, ) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff)
fn wait_preroll(&self) -> Result<FlowSuccess, FlowError>
fn is_async(&self) -> bool
fn set_async(&self, async_: bool)
fn enables_last_sample(&self) -> bool
fn set_enable_last_sample(&self, enable_last_sample: bool)
fn is_qos(&self) -> bool
fn set_qos(&self, qos: bool)
fn connect_async_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_enable_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_last_sample_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_max_bitrate_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_max_lateness_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_render_delay_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_sync_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_throttle_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_ts_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.