[−][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 negotiate(&self) -> bool
Negotiates src pad caps with downstream elements.
Unmarks GST_PAD_FLAG_NEED_RECONFIGURE in any case. But marks it again
if AggregatorClass.negotiate
() fails.
Feature: v1_18
Returns
true
if the negotiation succeeded, else false
.
fn peek_next_sample<P: IsA<AggregatorPad>>(&self, pad: &P) -> Option<Sample>
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 AggregatorClass.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_emit_signals(&self) -> bool
fn set_property_emit_signals(&self, emit_signals: bool)
fn get_property_start_time(&self) -> u64
fn set_property_start_time(&self, start_time: u64)
fn get_property_start_time_selection(&self) -> AggregatorStartTimeSelection
fn set_property_start_time_selection(
&self,
start_time_selection: AggregatorStartTimeSelection
)
&self,
start_time_selection: AggregatorStartTimeSelection
)
fn connect_property_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
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
fn connect_property_start_time_selection_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 negotiate(&self) -> bool
[src]
fn peek_next_sample<P: IsA<AggregatorPad>>(&self, pad: &P) -> Option<Sample>
[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_emit_signals(&self) -> bool
[src]
fn set_property_emit_signals(&self, emit_signals: bool)
[src]
fn get_property_start_time(&self) -> u64
[src]
fn set_property_start_time(&self, start_time: u64)
[src]
fn get_property_start_time_selection(&self) -> AggregatorStartTimeSelection
[src]
fn set_property_start_time_selection(
&self,
start_time_selection: AggregatorStartTimeSelection
)
[src]
&self,
start_time_selection: AggregatorStartTimeSelection
)
fn connect_property_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
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
fn connect_property_start_time_selection_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId