Trait gstreamer_base::prelude::AggregatorExt [−][src]
pub trait AggregatorExt: 'static {}Show methods
fn buffer_pool(&self) -> Option<BufferPool>; fn latency(&self) -> Option<ClockTime>; fn negotiate(&self) -> bool; fn peek_next_sample<P: IsA<AggregatorPad>>(&self, pad: &P) -> Option<Sample>; fn set_latency(
&self,
min_latency: ClockTime,
max_latency: impl Into<Option<ClockTime>>
); fn set_src_caps(&self, caps: &Caps); fn simple_get_next_time(&self) -> Option<ClockTime>; fn emits_signals(&self) -> bool; fn set_emit_signals(&self, emit_signals: bool); fn start_time(&self) -> u64; fn set_start_time(&self, start_time: u64); fn start_time_selection(&self) -> AggregatorStartTimeSelection; fn set_start_time_selection(
&self,
start_time_selection: AggregatorStartTimeSelection
); fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
Expand description
Required methods
fn buffer_pool(&self) -> Option<BufferPool>
[src]
fn buffer_pool(&self) -> Option<BufferPool>
[src]Returns
the instance of the gst::BufferPool
used
by trans
; free it after use it
Retrieves the latency values reported by self
in response to the latency
query, or GST_CLOCK_TIME_NONE
if there is not live source connected and the element
will not wait for the clock.
Typically only called by subclasses.
Returns
The latency or GST_CLOCK_TIME_NONE
if the element does not sync
v1_18
only.fn peek_next_sample<P: IsA<AggregatorPad>>(&self, pad: &P) -> Option<Sample>
[src]
fn peek_next_sample<P: IsA<AggregatorPad>>(&self, pad: &P) -> Option<Sample>
[src]v1_18
only.Use this function to determine what input buffers will be aggregated
to produce the next output buffer. This should only be called from
a signal::Aggregator::samples-selected
handler, and can be used to precisely
control aggregating parameters for a given set of input samples.
Returns
The sample that is about to be aggregated. It may hold a gst::Buffer
or a gst::BufferList
. The contents of its info structure is subclass-dependent,
and documented on a subclass basis. The buffers held by the sample are
not writable.
Lets Aggregator
sub-classes tell the baseclass what their internal
latency is. Will also post a LATENCY message on the bus so the pipeline
can reconfigure its global latency.
min_latency
minimum latency
max_latency
maximum latency
fn set_src_caps(&self, caps: &Caps)
[src]fn simple_get_next_time(&self) -> Option<ClockTime>
[src]
fn simple_get_next_time(&self) -> Option<ClockTime>
[src]v1_16
only.fn emits_signals(&self) -> bool
[src]
fn emits_signals(&self) -> bool
[src]v1_18
only.fn set_emit_signals(&self, emit_signals: bool)
[src]
fn set_emit_signals(&self, emit_signals: bool)
[src]v1_18
only.fn start_time(&self) -> u64
[src]fn set_start_time(&self, start_time: u64)
[src]fn start_time_selection(&self) -> AggregatorStartTimeSelection
[src]
fn start_time_selection(&self) -> AggregatorStartTimeSelection
[src]v1_18
only.fn set_start_time_selection(
&self,
start_time_selection: AggregatorStartTimeSelection
)
[src]
fn set_start_time_selection(
&self,
start_time_selection: AggregatorStartTimeSelection
)
[src]v1_18
only.fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]v1_18
only.fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]v1_14
only.fn connect_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]v1_18
only.Implementors
v1_14
only.v1_18
only.v1_16
only.v1_18
only.v1_18
only.v1_18
only.v1_18
only.fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]v1_18
only.fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]v1_18
only.