[−][src]Trait gstreamer_base::subclass::base_src::BaseSrcImpl
Provided methods
fn start(&self, element: &BaseSrc) -> Result<(), ErrorMessage>
fn stop(&self, element: &BaseSrc) -> Result<(), ErrorMessage>
fn is_seekable(&self, element: &BaseSrc) -> bool
fn get_size(&self, element: &BaseSrc) -> Option<u64>
fn get_times(
&self,
element: &BaseSrc,
buffer: &BufferRef
) -> (ClockTime, ClockTime)
&self,
element: &BaseSrc,
buffer: &BufferRef
) -> (ClockTime, ClockTime)
fn fill(
&self,
element: &BaseSrc,
offset: u64,
length: u32,
buffer: &mut BufferRef
) -> Result<FlowSuccess, FlowError>
&self,
element: &BaseSrc,
offset: u64,
length: u32,
buffer: &mut BufferRef
) -> Result<FlowSuccess, FlowError>
fn alloc(
&self,
element: &BaseSrc,
offset: u64,
length: u32
) -> Result<Buffer, FlowError>
&self,
element: &BaseSrc,
offset: u64,
length: u32
) -> Result<Buffer, FlowError>
fn create(
&self,
element: &BaseSrc,
offset: u64,
buffer: Option<&mut BufferRef>,
length: u32
) -> Result<CreateSuccess, FlowError>
&self,
element: &BaseSrc,
offset: u64,
buffer: Option<&mut BufferRef>,
length: u32
) -> Result<CreateSuccess, FlowError>