Trait gstreamer_base::subclass::base_src::BaseSrcImplExt
source · pub trait BaseSrcImplExt: Sealed + ObjectSubclass {
Show 18 methods
// Provided methods
fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
fn parent_is_seekable(&self) -> bool { ... }
fn parent_size(&self) -> Option<u64> { ... }
fn parent_times(
&self,
buffer: &BufferRef,
) -> (Option<ClockTime>, Option<ClockTime>) { ... }
fn parent_fill(
&self,
offset: u64,
length: u32,
buffer: &mut BufferRef,
) -> Result<FlowSuccess, FlowError> { ... }
fn parent_alloc(
&self,
offset: u64,
length: u32,
) -> Result<Buffer, FlowError> { ... }
fn parent_create(
&self,
offset: u64,
buffer: Option<&mut BufferRef>,
length: u32,
) -> Result<CreateSuccess, FlowError> { ... }
fn parent_do_seek(&self, segment: &mut Segment) -> bool { ... }
fn parent_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_event(&self, event: &Event) -> bool { ... }
fn parent_caps(&self, filter: Option<&Caps>) -> Option<Caps> { ... }
fn parent_negotiate(&self) -> Result<(), LoggableError> { ... }
fn parent_set_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
fn parent_fixate(&self, caps: Caps) -> Caps { ... }
fn parent_unlock(&self) -> Result<(), ErrorMessage> { ... }
fn parent_unlock_stop(&self) -> Result<(), ErrorMessage> { ... }
fn parent_decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_is_seekable(&self) -> bool
fn parent_size(&self) -> Option<u64>
fn parent_times( &self, buffer: &BufferRef, ) -> (Option<ClockTime>, Option<ClockTime>)
fn parent_fill( &self, offset: u64, length: u32, buffer: &mut BufferRef, ) -> Result<FlowSuccess, FlowError>
fn parent_alloc(&self, offset: u64, length: u32) -> Result<Buffer, FlowError>
fn parent_create( &self, offset: u64, buffer: Option<&mut BufferRef>, length: u32, ) -> Result<CreateSuccess, FlowError>
fn parent_do_seek(&self, segment: &mut Segment) -> bool
fn parent_query(&self, query: &mut QueryRef) -> bool
fn parent_event(&self, event: &Event) -> bool
fn parent_caps(&self, filter: Option<&Caps>) -> Option<Caps>
fn parent_negotiate(&self) -> Result<(), LoggableError>
fn parent_set_caps(&self, caps: &Caps) -> Result<(), LoggableError>
fn parent_fixate(&self, caps: Caps) -> Caps
fn parent_unlock(&self) -> Result<(), ErrorMessage>
fn parent_unlock_stop(&self) -> Result<(), ErrorMessage>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
Object Safety§
This trait is not object safe.