Trait gstreamer::PadExt[][src]

pub trait PadExt: 'static {
    fn activate_mode(
        &self,
        mode: PadMode,
        active: bool
    ) -> Result<(), BoolError>;
fn can_link<P: IsA<Pad>>(&self, sinkpad: &P) -> bool;
fn check_reconfigure(&self) -> bool;
fn create_stream_id<P: IsA<Element>>(
        &self,
        parent: &P,
        stream_id: Option<&str>
    ) -> Option<GString>;
fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> bool;
fn get_allowed_caps(&self) -> Option<Caps>;
fn get_current_caps(&self) -> Option<Caps>;
fn get_direction(&self) -> PadDirection;
fn get_offset(&self) -> i64;
fn get_pad_template(&self) -> Option<PadTemplate>;
fn get_pad_template_caps(&self) -> Option<Caps>;
fn get_parent_element(&self) -> Option<Element>;
fn get_peer(&self) -> Option<Pad>;
fn get_single_internal_link(&self) -> Option<Pad>;
fn get_sticky_event(&self, event_type: EventType, idx: u32) -> Option<Event>;
fn get_stream(&self) -> Option<Stream>;
fn get_stream_id(&self) -> Option<GString>;
fn get_task_state(&self) -> TaskState;
fn has_current_caps(&self) -> bool;
fn is_active(&self) -> bool;
fn is_blocked(&self) -> bool;
fn is_blocking(&self) -> bool;
fn is_linked(&self) -> bool;
fn link_maybe_ghosting<P: IsA<Pad>>(
        &self,
        sink: &P
    ) -> Result<(), BoolError>;
fn link_maybe_ghosting_full<P: IsA<Pad>>(
        &self,
        sink: &P,
        flags: PadLinkCheck
    ) -> Result<(), BoolError>;
fn mark_reconfigure(&self);
fn needs_reconfigure(&self) -> bool;
fn pause_task(&self) -> Result<(), BoolError>;
fn peer_query_accept_caps(&self, caps: &Caps) -> bool;
fn peer_query_caps(&self, filter: Option<&Caps>) -> Option<Caps>;
fn query_accept_caps(&self, caps: &Caps) -> bool;
fn query_caps(&self, filter: Option<&Caps>) -> Option<Caps>;
fn set_active(&self, active: bool) -> Result<(), BoolError>;
fn set_offset(&self, offset: i64);
fn stop_task(&self) -> Result<(), BoolError>;
fn unlink<P: IsA<Pad>>(&self, sinkpad: &P) -> Result<(), BoolError>;
fn use_fixed_caps(&self);
fn get_property_caps(&self) -> Option<Caps>;
fn connect_linked<F: Fn(&Self, &Pad) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_unlinked<F: Fn(&Self, &Pad) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn activate_mode(&self, mode: PadMode, active: bool) -> Result<(), BoolError>[src]

fn check_reconfigure(&self) -> bool[src]

fn create_stream_id<P: IsA<Element>>(
    &self,
    parent: &P,
    stream_id: Option<&str>
) -> Option<GString>
[src]

fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> bool[src]

fn get_allowed_caps(&self) -> Option<Caps>[src]

fn get_current_caps(&self) -> Option<Caps>[src]

fn get_direction(&self) -> PadDirection[src]

fn get_offset(&self) -> i64[src]

fn get_pad_template(&self) -> Option<PadTemplate>[src]

fn get_pad_template_caps(&self) -> Option<Caps>[src]

fn get_parent_element(&self) -> Option<Element>[src]

fn get_peer(&self) -> Option<Pad>[src]

fn get_sticky_event(&self, event_type: EventType, idx: u32) -> Option<Event>[src]

fn get_stream(&self) -> Option<Stream>[src]

fn get_stream_id(&self) -> Option<GString>[src]

fn get_task_state(&self) -> TaskState[src]

fn has_current_caps(&self) -> bool[src]

fn is_active(&self) -> bool[src]

fn is_blocked(&self) -> bool[src]

fn is_blocking(&self) -> bool[src]

fn is_linked(&self) -> bool[src]

fn mark_reconfigure(&self)[src]

fn needs_reconfigure(&self) -> bool[src]

fn pause_task(&self) -> Result<(), BoolError>[src]

fn peer_query_accept_caps(&self, caps: &Caps) -> bool[src]

fn peer_query_caps(&self, filter: Option<&Caps>) -> Option<Caps>[src]

fn query_accept_caps(&self, caps: &Caps) -> bool[src]

fn query_caps(&self, filter: Option<&Caps>) -> Option<Caps>[src]

fn set_active(&self, active: bool) -> Result<(), BoolError>[src]

fn set_offset(&self, offset: i64)[src]

fn stop_task(&self) -> Result<(), BoolError>[src]

fn use_fixed_caps(&self)[src]

fn get_property_caps(&self) -> Option<Caps>[src]

fn connect_linked<F: Fn(&Self, &Pad) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_unlinked<F: Fn(&Self, &Pad) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Pad>> PadExt for O[src]

Loading content...