GstBase.AggregatorPad

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Pad Gst.Pad Gst.Object->Gst.Pad GstBase.AggregatorPad GstBase.AggregatorPad Gst.Pad->GstBase.AggregatorPad

Subclasses:None

Virtual Methods

Inherited:Gst.Pad (2), Gst.Object (1), GObject.Object (7)
  do_flush (aggregator)
  do_skip_buffer (aggregator, buffer)

Properties

Inherited:Gst.Pad (4), Gst.Object (2)
Name Type Flags Short Description
emit-signals bool r/w Send signals to signal data consumption

Signals

Inherited:Gst.Pad (2), Gst.Object (1), GObject.Object (1)
Name Short Description
buffer-consumed  

Fields

Inherited:Gst.Pad (2), Gst.Object (1), GObject.Object (1)
Name Type Access Description
parent Gst.Pad r  
segment Gst.Segment r last segment received.

Class Details

class GstBase.AggregatorPad(**kwargs)
Bases:Gst.Pad
Abstract:No
Structure:GstBase.AggregatorPadClass

Pads managed by a #GstAggregor subclass.

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

drop_buffer()[source]
Returns:True if there was a buffer queued in self, or False if not.
Return type:bool

Drop the buffer currently queued in self.

has_buffer()[source]
Returns:True if the pad has a buffer available as the next thing.
Return type:bool

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

New in version 1.14.1.

is_eos()[source]
Returns:True if the pad is EOS, otherwise False.
Return type:bool
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
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

Steal the ref to the buffer currently queued in self.

do_flush(aggregator) virtual
Parameters:aggregator (GstBase.Aggregator) –
Return type:Gst.FlowReturn
do_skip_buffer(aggregator, buffer) virtual
Parameters:
Return type:

bool

Signal Details

GstBase.AggregatorPad.signals.buffer_consumed(aggregator_pad, object)
Signal Name:

buffer-consumed

Flags:

RUN_FIRST

Parameters:

Property Details

GstBase.AggregatorPad.props.emit_signals
Name:emit-signals
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

Enables the emission of signals such as GstBase.AggregatorPad ::buffer-consumed

New in version 1.16.