gstbase.aggregator_pad

Module for [AggregatorPad] class

Types 3

Pads managed by a #GstAggregator subclass.

This class used to live in gst-plugins-bad and was moved to core.

Methods
GType _gType() @property
AggregatorPad self()Returns `this`, for use in `with` statements.
AggregatorPadGidBuilder builder()Get builder for [gstbase.aggregator_pad.AggregatorPad] Returns: New builder object
bool emitSignals() @propertyGet `emitSignals` property. Returns: Enables the emission of signals such as #GstAggregatorPad::buffer-consumed
void emitSignals(bool propval) @propertySet `emitSignals` property. Params: propval = Enables the emission of signals such as #GstAggregatorPad::buffer-consumed
bool dropBuffer()Drop the buffer currently queued in pad. Returns: TRUE if there was a buffer queued in pad, or FALSE if not.
bool hasBuffer()This checks if a pad has a buffer available that will be returned by a call to [gstbase.aggregatorpad.AggregatorPad.peekBuffer] or [gstbase.aggregatorpad.AggregatorPad.popBuffer]. Returns: true if ...
bool isEos()
bool isInactive()It is only valid to call this method from #GstAggregatorClass::aggregate() Returns: true if the pad is inactive, false otherwise. See gstaggregatorignoreinactivepads() for more info.
gst.buffer.Buffer popBuffer()Steal the ref to the buffer currently queued in pad. Returns: The buffer in pad or NULL if no buffer was queued. You should unref the buffer after usage.
gulong connectBufferConsumed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gst.buffer.Buffer))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstbase.aggregator_pad.AggregatorPad))) && Parameters!T.length < 3)Connect to `BufferConsumed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T emitSignals(bool propval)Set `emitSignals` property. Params: propval = Enables the emission of signals such as #GstAggregatorPad::buffer-consumed Returns: Builder instance for fluent chaining

Fluent builder for [gstbase.aggregator_pad.AggregatorPad]