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

pub trait BaseSrcImplExt {
    fn parent_start(&self, element: &BaseSrc) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &BaseSrc) -> Result<(), ErrorMessage>;
fn parent_is_seekable(&self, element: &BaseSrc) -> bool;
fn parent_get_size(&self, element: &BaseSrc) -> Option<u64>;
fn parent_get_times(
        &self,
        element: &BaseSrc,
        buffer: &BufferRef
    ) -> (ClockTime, ClockTime);
fn parent_fill(
        &self,
        element: &BaseSrc,
        offset: u64,
        length: u32,
        buffer: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError>;
fn parent_create(
        &self,
        element: &BaseSrc,
        offset: u64,
        length: u32
    ) -> Result<Buffer, FlowError>;
fn parent_do_seek(&self, element: &BaseSrc, segment: &mut Segment) -> bool;
fn parent_query(&self, element: &BaseSrc, query: &mut QueryRef) -> bool;
fn parent_event(&self, element: &BaseSrc, event: &Event) -> bool;
fn parent_get_caps(
        &self,
        element: &BaseSrc,
        filter: Option<&Caps>
    ) -> Option<Caps>;
fn parent_negotiate(&self, element: &BaseSrc) -> Result<(), LoggableError>;
fn parent_set_caps(
        &self,
        element: &BaseSrc,
        caps: &Caps
    ) -> Result<(), LoggableError>;
fn parent_fixate(&self, element: &BaseSrc, caps: Caps) -> Caps;
fn parent_unlock(&self, element: &BaseSrc) -> Result<(), ErrorMessage>;
fn parent_unlock_stop(&self, element: &BaseSrc) -> Result<(), ErrorMessage>; }

Required methods

fn parent_start(&self, element: &BaseSrc) -> Result<(), ErrorMessage>

fn parent_stop(&self, element: &BaseSrc) -> Result<(), ErrorMessage>

fn parent_is_seekable(&self, element: &BaseSrc) -> bool

fn parent_get_size(&self, element: &BaseSrc) -> Option<u64>

fn parent_get_times(
    &self,
    element: &BaseSrc,
    buffer: &BufferRef
) -> (ClockTime, ClockTime)

fn parent_fill(
    &self,
    element: &BaseSrc,
    offset: u64,
    length: u32,
    buffer: &mut BufferRef
) -> Result<FlowSuccess, FlowError>

fn parent_create(
    &self,
    element: &BaseSrc,
    offset: u64,
    length: u32
) -> Result<Buffer, FlowError>

fn parent_do_seek(&self, element: &BaseSrc, segment: &mut Segment) -> bool

fn parent_query(&self, element: &BaseSrc, query: &mut QueryRef) -> bool

fn parent_event(&self, element: &BaseSrc, event: &Event) -> bool

fn parent_get_caps(
    &self,
    element: &BaseSrc,
    filter: Option<&Caps>
) -> Option<Caps>

fn parent_negotiate(&self, element: &BaseSrc) -> Result<(), LoggableError>

fn parent_set_caps(
    &self,
    element: &BaseSrc,
    caps: &Caps
) -> Result<(), LoggableError>

fn parent_fixate(&self, element: &BaseSrc, caps: Caps) -> Caps

fn parent_unlock(&self, element: &BaseSrc) -> Result<(), ErrorMessage>

fn parent_unlock_stop(&self, element: &BaseSrc) -> Result<(), ErrorMessage>

Loading content...

Implementors

impl<T: BaseSrcImpl + ObjectImpl> BaseSrcImplExt for T[src]

Loading content...