[][src]Struct gstreamer_app::AppSrc

pub struct AppSrc(_, _);

Implementations

impl AppSrc[src]

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

pub fn get_current_level_bytes(&self) -> u64[src]

pub fn get_duration(&self) -> ClockTime[src]

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

pub fn get_max_bytes(&self) -> u64[src]

pub fn get_size(&self) -> i64[src]

pub fn get_stream_type(&self) -> AppStreamType[src]

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

pub fn set_duration(&self, duration: ClockTime)[src]

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

pub fn set_max_bytes(&self, max: u64)[src]

pub fn set_size(&self, size: i64)[src]

pub fn set_stream_type(&self, type_: AppStreamType)[src]

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

pub fn set_property_block(&self, block: bool)[src]

pub fn get_property_format(&self) -> Format[src]

pub fn set_property_format(&self, format: Format)[src]

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

pub fn set_property_handle_segment_change(&self, handle_segment_change: bool)[src]

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

pub fn set_property_is_live(&self, is_live: bool)[src]

pub fn get_property_max_latency(&self) -> i64[src]

pub fn set_property_max_latency(&self, max_latency: i64)[src]

pub fn get_property_min_latency(&self) -> i64[src]

pub fn set_property_min_latency(&self, min_latency: i64)[src]

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

pub fn set_property_min_percent(&self, min_percent: u32)[src]

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

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

pub fn connect_seek_data<F: Fn(&AppSrc, u64) -> bool + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl AppSrc[src]

pub fn end_of_stream(&self) -> Result<FlowSuccess, FlowError>[src]

pub fn push_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>[src]

pub fn push_buffer_list(
    &self,
    list: BufferList
) -> Result<FlowSuccess, FlowError>
[src]

pub fn push_sample(&self, sample: &Sample) -> Result<FlowSuccess, FlowError>[src]

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

pub fn set_latency(&self, min: ClockTime, max: ClockTime)[src]

pub fn get_latency(&self) -> (ClockTime, ClockTime)[src]

pub fn sink(&self) -> AppSrcSink[src]

Trait Implementations

impl Clone for AppSrc[src]

impl Debug for AppSrc[src]

impl Eq for AppSrc[src]

impl Hash for AppSrc[src]

impl IsA<BaseSrc> for AppSrc[src]

impl IsA<Element> for AppSrc[src]

impl IsA<Object> for AppSrc[src]

impl IsA<URIHandler> for AppSrc[src]

impl Ord for AppSrc[src]

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

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

impl Send for AppSrc[src]

impl StaticType for AppSrc[src]

impl Sync for AppSrc[src]

Auto Trait Implementations

Blanket Implementations

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

impl<O> BaseSrcExt for O where
    O: IsA<BaseSrc>, 
[src]

impl<O> BaseSrcExtManual for O where
    O: IsA<BaseSrc>, 
[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]