gstbase.aggregator_pad
Module for [AggregatorPad] class
Types 3
classAggregatorPad : gst.pad.Pad
Pads managed by a #GstAggregator subclass.
This class used to live in gst-plugins-bad and was moved to core.
Methods
AggregatorPad self()Returns `this`, for use in `with` statements.AggregatorPadGidBuilder builder()Get builder for [gstbase.aggregator_pad.AggregatorPad] Returns: New builder objectbool emitSignals() @propertyGet `emitSignals` property. Returns: Enables the emission of signals such as #GstAggregatorPad::buffer-consumedvoid emitSignals(bool propval) @propertySet `emitSignals` property. Params: propval = Enables the emission of signals such as #GstAggregatorPad::buffer-consumedbool 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.classAggregatorPadGidBuilderImpl(T) : gst.pad.PadGidBuilderImpl!T
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 chainingFluent builder for [gstbase.aggregator_pad.AggregatorPad]
Methods