AggregatorPad#

Added in version 1.14.

class AggregatorPad(**properties: Any)#

Superclasses: Pad, Object, InitiallyUnowned, Object

Pads managed by a Aggregator subclass.

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

Methods#

class AggregatorPad
do_flush(self, aggregator: Aggregator) FlowReturn#
Parameters:

aggregator

do_skip_buffer(self, aggregator: Aggregator, buffer: Buffer) bool#
Parameters:
  • aggregator

  • buffer

drop_buffer() bool#

Drop the buffer currently queued in pad.

has_buffer() bool#

This checks if a pad has a buffer available that will be returned by a call to peek_buffer() or pop_buffer().

Added in version 1.14.1.

is_eos() bool#
is_inactive() bool#

It is only valid to call this method from GstAggregatorClass::aggregate()

Added in version 1.20.

peek_buffer() Buffer | None#
pop_buffer() Buffer | None#

Steal the ref to the buffer currently queued in pad.

Properties#

class AggregatorPad
props.emit_signals: bool#

The type of the None singleton.

Added in version 1.16.

Signals#

class AggregatorPad.signals
buffer_consumed(object: Buffer) None#

The type of the None singleton.

Parameters:

object

Virtual Methods#

class AggregatorPad
do_flush(aggregator: Aggregator) FlowReturn#

The type of the None singleton.

Parameters:

aggregator

do_skip_buffer(aggregator: Aggregator, buffer: Buffer) bool#

The type of the None singleton.

Parameters:
  • aggregator

  • buffer

Fields#

class AggregatorPad
parent#
priv#
segment#

Last segment received.