[−][src]Trait gstreamer_base::AggregatorPadExt
Required methods
fn drop_buffer(&self) -> bool
Drop the buffer currently queued in self.
Feature: v1_14
Returns
TRUE if there was a buffer queued in self, or FALSE if not.
fn has_buffer(&self) -> bool
This checks if a pad has a buffer available that will be returned by
a call to AggregatorPadExt::peek_buffer or
AggregatorPadExt::pop_buffer.
Feature: v1_14_1
Returns
true if the pad has a buffer available as the next thing.
fn is_eos(&self) -> bool
fn peek_buffer(&self) -> Option<Buffer>
Feature: v1_14
Returns
A reference to the buffer in self or
NULL if no buffer was queued. You should unref the buffer after
usage.
fn pop_buffer(&self) -> Option<Buffer>
Steal the ref to the buffer currently queued in self.
Feature: v1_14
Returns
The buffer in self or NULL if no buffer was
queued. You should unref the buffer after usage.
fn get_property_emit_signals(&self) -> bool
Enables the emission of signals such as AggregatorPad::buffer-consumed
Feature: v1_16
fn set_property_emit_signals(&self, emit_signals: bool)
Enables the emission of signals such as AggregatorPad::buffer-consumed
Feature: v1_16
fn connect_buffer_consumed<F: Fn(&Self, &Buffer) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<AggregatorPad>> AggregatorPadExt for O[src]
fn drop_buffer(&self) -> bool[src]
fn has_buffer(&self) -> bool[src]
fn is_eos(&self) -> bool[src]
fn peek_buffer(&self) -> Option<Buffer>[src]
fn pop_buffer(&self) -> Option<Buffer>[src]
fn get_property_emit_signals(&self) -> bool[src]
fn set_property_emit_signals(&self, emit_signals: bool)[src]
fn connect_buffer_consumed<F: Fn(&Self, &Buffer) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId