AggregatorPad#
Added in version 1.14.
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
- has_buffer() bool#
This checks if a pad has a buffer available that will be returned by a call to
peek_buffer()orpop_buffer().Added in version 1.14.1.
Properties#
- class AggregatorPad
- props.current_level_buffers: int#
The number of currently queued buffers inside this pad
Added in version 1.28.
- props.current_level_bytes: int#
The number of currently queued bytes inside this pad
Added in version 1.28.
- props.current_level_time: int#
The amount of currently queued time inside this pad
Added in version 1.28.
- props.emit_signals: bool#
Enables the emission of signals such as
AggregatorPad::buffer-consumedAdded in version 1.16.
Signals#
Virtual Methods#
- class AggregatorPad
- do_flush(aggregator: Aggregator) FlowReturn#
Optional Called when the pad has received a flush stop, this is the place to flush any information specific to the pad, it allows for individual pads to be flushed while others might not be.
- Parameters:
aggregator
- do_skip_buffer(aggregator: Aggregator, buffer: Buffer) bool#
Optional Called before input buffers are queued in the pad, return
Trueif the buffer should be skipped.- Parameters:
aggregator
buffer