[][src]Struct gstreamer_app::AppSink

pub struct AppSink(_, _);

Implementations

impl AppSink[src]

pub fn get_buffer_list_support(&self) -> bool[src]

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

pub fn get_drop(&self) -> bool[src]

pub fn get_emit_signals(&self) -> bool[src]

pub fn get_max_buffers(&self) -> u32[src]

pub fn get_wait_on_eos(&self) -> bool[src]

pub fn is_eos(&self) -> bool[src]

pub fn pull_preroll(&self) -> Result<Sample, BoolError>[src]

pub fn pull_sample(&self) -> Result<Sample, BoolError>[src]

pub fn set_buffer_list_support(&self, enable_lists: bool)[src]

pub fn set_caps(&self, caps: Option<&Caps>)[src]

pub fn set_drop(&self, drop: bool)[src]

pub fn set_emit_signals(&self, emit: bool)[src]

pub fn set_max_buffers(&self, max: u32)[src]

pub fn set_wait_on_eos(&self, wait: bool)[src]

pub fn try_pull_preroll(&self, timeout: ClockTime) -> Option<Sample>[src]

pub fn try_pull_sample(&self, timeout: ClockTime) -> Option<Sample>[src]

pub fn get_property_buffer_list(&self) -> bool[src]

pub fn set_property_buffer_list(&self, buffer_list: bool)[src]

pub fn get_property_eos(&self) -> bool[src]

pub fn connect_eos<F: Fn(&AppSink) + Send + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

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

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

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

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

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

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

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

impl AppSink[src]

pub fn set_callbacks(&self, callbacks: AppSinkCallbacks)[src]

pub fn connect_new_sample<F: Fn(&AppSink) -> Result<FlowSuccess, FlowError> + Send + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_new_preroll<F: Fn(&AppSink) -> Result<FlowSuccess, FlowError> + Send + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn stream(&self) -> AppSinkStream[src]

Trait Implementations

impl Clone for AppSink[src]

impl Debug for AppSink[src]

impl Eq for AppSink[src]

impl Hash for AppSink[src]

impl IsA<BaseSink> for AppSink[src]

impl IsA<Element> for AppSink[src]

impl IsA<Object> for AppSink[src]

impl IsA<URIHandler> for AppSink[src]

impl Ord for AppSink[src]

impl<T: ObjectType> PartialEq<T> for AppSink[src]

impl<T: ObjectType> PartialOrd<T> for AppSink[src]

impl Send for AppSink[src]

impl StaticType for AppSink[src]

impl Sync for AppSink[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<O> BaseSinkExt for O where
    O: IsA<BaseSink>, 
[src]

impl<O> BaseSinkExtManual for O where
    O: IsA<BaseSink>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<O> ElementExt for O where
    O: IsA<Element>, 
[src]

impl<O> ElementExtManual for O where
    O: IsA<Element>, 
[src]

impl<T> From<T> for T[src]

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExt for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExtManual for O where
    O: IsA<Object>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<O> URIHandlerExt for O where
    O: IsA<URIHandler>, 
[src]