GstBase.AggregatorPad¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Send signals to signal data consumption |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
segment |
r |
last segment received. |
Class Details¶
- class GstBase.AggregatorPad(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Pads managed by a
GstBase.Aggregator
subclass.This class used to live in gst-plugins-bad and was moved to core.
New in version 1.14.
- has_buffer()[source]¶
-
This checks if a pad has a buffer available that will be returned by a call to
GstBase.AggregatorPad.peek_buffer
() orGstBase.AggregatorPad.pop_buffer
().New in version 1.14.1.
- is_inactive()[source]¶
- Returns:
True
if the pad is inactive,False
otherwise. See gst_aggregator_ignore_inactive_pads() for more info.- Return type:
It is only valid to call this method from #GstAggregatorClass::aggregate()
New in version 1.20.
- peek_buffer()[source]¶
- Returns:
A reference to the buffer in self or
None
if no buffer was queued. You should unref the buffer after usage.- Return type:
Gst.Buffer
orNone
- pop_buffer()[source]¶
- Returns:
The buffer in self or
None
if no buffer was queued. You should unref the buffer after usage.- Return type:
Gst.Buffer
orNone
Steal the ref to the buffer currently queued in self.
- do_flush(aggregator) virtual¶
- Parameters:
aggregator (
GstBase.Aggregator
) –- Return type:
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.
- do_skip_buffer(aggregator, buffer) virtual¶
- Parameters:
aggregator (
GstBase.Aggregator
) –buffer (
Gst.Buffer
) –
- Return type:
Optional Called before input buffers are queued in the pad, return
True
if the buffer should be skipped.
Signal Details¶
- GstBase.AggregatorPad.signals.buffer_consumed(aggregator_pad, object)¶
- Signal Name:
buffer-consumed
- Flags:
- Parameters:
aggregator_pad (
GstBase.AggregatorPad
) – The object which received the signalobject (
Gst.Buffer
) –
Property Details¶
- GstBase.AggregatorPad.props.emit_signals¶
-
Enables the emission of signals such as
GstBase.AggregatorPad
::buffer-consumed
New in version 1.16.