gstreamer_base::prelude

Trait 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§

Source

fn blocksize(&self) -> u32

Source

fn buffer_pool(&self) -> Option<BufferPool>

Source

fn does_timestamp(&self) -> bool

Source

fn is_async(&self) -> bool

Source

fn is_live(&self) -> bool

Source

fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool

Source

fn set_async(&self, async_: bool)

Source

fn set_automatic_eos(&self, automatic_eos: bool)

Source

fn set_blocksize(&self, blocksize: u32)

Source

fn set_caps(&self, caps: &Caps) -> Result<(), BoolError>

Source

fn set_do_timestamp(&self, timestamp: bool)

Source

fn set_dynamic_size(&self, dynamic: bool)

Source

fn set_format(&self, format: Format)

Source

fn set_live(&self, live: bool)

Source

fn start_complete(&self, ret: impl Into<FlowReturn>)

Source

fn start_wait(&self) -> Result<FlowSuccess, FlowError>

Source

fn wait_playing(&self) -> Result<FlowSuccess, FlowError>

Source

fn num_buffers(&self) -> i32

Source

fn set_num_buffers(&self, num_buffers: i32)

Source

fn is_typefind(&self) -> bool

Source

fn set_typefind(&self, typefind: bool)

Source

fn connect_blocksize_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_do_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_num_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_typefind_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§