Trait gstreamer_base::subclass::base_src::BaseSrcImpl[][src]

pub trait BaseSrcImpl: BaseSrcImplExt + ElementImpl {
Show methods fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn is_seekable(&self, element: &Self::Type) -> bool { ... }
fn size(&self, element: &Self::Type) -> Option<u64> { ... }
fn times(
        &self,
        element: &Self::Type,
        buffer: &BufferRef
    ) -> (ClockTime, ClockTime) { ... }
fn fill(
        &self,
        element: &Self::Type,
        offset: u64,
        length: u32,
        buffer: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError> { ... }
fn alloc(
        &self,
        element: &Self::Type,
        offset: u64,
        length: u32
    ) -> Result<Buffer, FlowError> { ... }
fn create(
        &self,
        element: &Self::Type,
        offset: u64,
        buffer: Option<&mut BufferRef>,
        length: u32
    ) -> Result<CreateSuccess, FlowError> { ... }
fn do_seek(&self, element: &Self::Type, segment: &mut Segment) -> bool { ... }
fn query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... }
fn event(&self, element: &Self::Type, event: &Event) -> bool { ... }
fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Option<Caps> { ... }
fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError> { ... }
fn set_caps(
        &self,
        element: &Self::Type,
        caps: &Caps
    ) -> Result<(), LoggableError> { ... }
fn fixate(&self, element: &Self::Type, caps: Caps) -> Caps { ... }
fn unlock(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn unlock_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
}

Provided methods

fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn is_seekable(&self, element: &Self::Type) -> bool[src]

fn size(&self, element: &Self::Type) -> Option<u64>[src]

fn times(
    &self,
    element: &Self::Type,
    buffer: &BufferRef
) -> (ClockTime, ClockTime)
[src]

fn fill(
    &self,
    element: &Self::Type,
    offset: u64,
    length: u32,
    buffer: &mut BufferRef
) -> Result<FlowSuccess, FlowError>
[src]

fn alloc(
    &self,
    element: &Self::Type,
    offset: u64,
    length: u32
) -> Result<Buffer, FlowError>
[src]

fn create(
    &self,
    element: &Self::Type,
    offset: u64,
    buffer: Option<&mut BufferRef>,
    length: u32
) -> Result<CreateSuccess, FlowError>
[src]

fn do_seek(&self, element: &Self::Type, segment: &mut Segment) -> bool[src]

fn query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn event(&self, element: &Self::Type, event: &Event) -> bool[src]

fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Option<Caps>[src]

fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>[src]

fn set_caps(
    &self,
    element: &Self::Type,
    caps: &Caps
) -> Result<(), LoggableError>
[src]

fn fixate(&self, element: &Self::Type, caps: Caps) -> Caps[src]

fn unlock(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn unlock_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

Loading content...

Implementors

Loading content...