Trait gstreamer_base::auto::base_src::BaseSrcExt
source · pub trait BaseSrcExt:
IsA<BaseSrc>
+ Sealed
+ 'static {
Show 25 methods
// Provided methods
fn blocksize(&self) -> u32 { ... }
fn buffer_pool(&self) -> Option<BufferPool> { ... }
fn does_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 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) -> Result<(), BoolError> { ... }
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: impl Into<FlowReturn>) { ... }
fn start_wait(&self) -> Result<FlowSuccess, FlowError> { ... }
fn wait_playing(&self) -> Result<FlowSuccess, FlowError> { ... }
fn num_buffers(&self) -> i32 { ... }
fn set_num_buffers(&self, num_buffers: i32) { ... }
fn is_typefind(&self) -> bool { ... }
fn set_typefind(&self, typefind: bool) { ... }
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_do_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_num_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_typefind_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn blocksize(&self) -> u32
fn buffer_pool(&self) -> Option<BufferPool>
fn does_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 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) -> Result<(), BoolError>
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: impl Into<FlowReturn>)
fn start_wait(&self) -> Result<FlowSuccess, FlowError>
fn wait_playing(&self) -> Result<FlowSuccess, FlowError>
fn num_buffers(&self) -> i32
fn set_num_buffers(&self, num_buffers: i32)
fn is_typefind(&self) -> bool
fn set_typefind(&self, typefind: bool)
fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_do_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_num_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_typefind_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.