Trait gstreamer_base::prelude::PadExtManual[][src]

pub trait PadExtManual {
    fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId>
    where
        F: Fn(&Pad, &mut PadProbeInfo) -> PadProbeReturn + Send + Sync + 'static
;
fn remove_probe(&self, id: PadProbeId);
fn chain(&self, buffer: GstRc<BufferRef>) -> FlowReturn;
fn push(&self, buffer: GstRc<BufferRef>) -> FlowReturn;
fn chain_list(&self, list: GstRc<BufferListRef>) -> FlowReturn;
fn push_list(&self, list: GstRc<BufferListRef>) -> FlowReturn;
fn pull_range(
        &self,
        offset: u64,
        size: u32
    ) -> Result<GstRc<BufferRef>, FlowReturn>;
fn get_range(
        &self,
        offset: u64,
        size: u32
    ) -> Result<GstRc<BufferRef>, FlowReturn>;
fn peer_query(&self, query: &mut QueryRef) -> bool;
fn query(&self, query: &mut QueryRef) -> bool;
fn query_default<'a, P, Q>(&self, parent: Q, query: &mut QueryRef) -> bool
    where
        P: 'a + IsA<Object>,
        Q: Into<Option<&'a P>>
;
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool;
fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool;
fn event_default<'a, P, Q>(&self, parent: Q, event: GstRc<EventRef>) -> bool
    where
        P: 'a + IsA<Object>,
        Q: Into<Option<&'a P>>
;
fn push_event(&self, event: GstRc<EventRef>) -> bool;
fn send_event(&self, event: GstRc<EventRef>) -> bool;
fn iterate_internal_links(&self) -> Iterator<Pad>;
fn iterate_internal_links_default<'a, P, Q>(
        &self,
        parent: Q
    ) -> Iterator<Pad>
    where
        P: 'a + IsA<Object>,
        Q: Into<Option<&'a P>>
;
fn stream_lock(&self) -> StreamLock;
fn set_activate_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) -> bool + Send + Sync + 'static
;
fn set_activatemode_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, PadMode, bool) -> bool + Send + Sync + 'static
;
fn set_chain_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, GstRc<BufferRef>) -> FlowReturn + Send + Sync + 'static
;
fn set_chain_list_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, GstRc<BufferListRef>) -> FlowReturn + Send + Sync + 'static
;
fn set_event_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, GstRc<EventRef>) -> bool + Send + Sync + 'static
;
fn set_event_full_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, GstRc<EventRef>) -> FlowReturn + Send + Sync + 'static
;
fn set_getrange_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, u64, u32) -> Result<GstRc<BufferRef>, FlowReturn> + Send + Sync + 'static
;
fn set_iterate_internal_links_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) -> Iterator<Pad> + Send + Sync + 'static
;
fn set_link_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, &Pad) -> PadLinkReturn + Send + Sync + 'static
;
fn set_query_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, &mut QueryRef) -> bool + Send + Sync + 'static
;
fn set_unlink_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) + Send + Sync + 'static
;
fn start_task<F>(&self, func: F) -> Result<(), BoolError>
    where
        F: 'static + Send + FnMut()
;
fn peer_query_convert<V, U>(&self, src_val: V) -> Option<U>
    where
        U: SpecificFormattedValue,
        V: Into<GenericFormattedValue>
;
fn peer_query_convert_generic<V>(
        &self,
        src_val: V,
        dest_format: Format
    ) -> Option<GenericFormattedValue>
    where
        V: Into<GenericFormattedValue>
;
fn peer_query_duration<T>(&self) -> Option<T>
    where
        T: SpecificFormattedValue
;
fn peer_query_duration_generic(
        &self,
        format: Format
    ) -> Option<GenericFormattedValue>;
fn peer_query_position<T>(&self) -> Option<T>
    where
        T: SpecificFormattedValue
;
fn peer_query_position_generic(
        &self,
        format: Format
    ) -> Option<GenericFormattedValue>;
fn query_convert<V, U>(&self, src_val: V) -> Option<U>
    where
        U: SpecificFormattedValue,
        V: Into<GenericFormattedValue>
;
fn query_convert_generic<V>(
        &self,
        src_val: V,
        dest_format: Format
    ) -> Option<GenericFormattedValue>
    where
        V: Into<GenericFormattedValue>
;
fn query_duration<T>(&self) -> Option<T>
    where
        T: SpecificFormattedValue
;
fn query_duration_generic(
        &self,
        format: Format
    ) -> Option<GenericFormattedValue>;
fn query_position<T>(&self) -> Option<T>
    where
        T: SpecificFormattedValue
;
fn query_position_generic(
        &self,
        format: Format
    ) -> Option<GenericFormattedValue>;
fn get_mode(&self) -> PadMode;
fn sticky_events_foreach<F>(&self, func: F)
    where
        F: FnMut(GstRc<EventRef>) -> Result<Option<GstRc<EventRef>>, Option<GstRc<EventRef>>>
; }

Required Methods

Implementors