[−][src]Trait gstreamer_base::prelude::AggregatorExt
Required methods
fn get_buffer_pool(&self) -> Option<BufferPool>
fn get_latency(&self) -> ClockTime
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.
Feature: v1_14
Returns
The latency or GST_CLOCK_TIME_NONE
if the element does not sync
fn set_latency(&self, min_latency: ClockTime, max_latency: ClockTime)
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.
Feature: v1_14
min_latency
minimum latency
max_latency
maximum latency
fn set_src_caps(&self, caps: &Caps)
fn simple_get_next_time(&self) -> ClockTime
This is a simple Aggregator::get_next_time
implementation that
just looks at the gst::Segment
on the srcpad of the aggregator and bases
the next time on the running time there.
This is the desired behaviour in most cases where you have a live source and you have a dead line based aggregator subclass.
Feature: v1_16
Returns
The running time based on the position
fn get_property_start_time(&self) -> u64
fn set_property_start_time(&self, start_time: u64)
fn connect_property_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Aggregator>> AggregatorExt for O
[src]
fn get_buffer_pool(&self) -> Option<BufferPool>
[src]
fn get_latency(&self) -> ClockTime
[src]
fn set_latency(&self, min_latency: ClockTime, max_latency: ClockTime)
[src]
fn set_src_caps(&self, caps: &Caps)
[src]
fn simple_get_next_time(&self) -> ClockTime
[src]
fn get_property_start_time(&self) -> u64
[src]
fn set_property_start_time(&self, start_time: u64)
[src]
fn connect_property_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId