GstPad
The connection between Elements
Elements are connected to each other via "pads", which are extremely light-weight generic
connections.
is this pad connected
@pad: the pad to check
can this pad be used to pull a buffer
@pad: the pad to check
The function that will be called when chaining buffers.
@pad: the pad that performed the chain
@buf: the buffer that is chained
The function that will be called when pulling a buffer.
@pad: the pad to get a buffer from
@Returns: a GstBuffer
The function that will be called when pulling a region buffer.
@pad: the pad to get a buffer from
@offset: the offset of the region to get
@size: the size of the region to get
@Returns: a GstBuffer
the function that will be called when a QoS message is sent.
@pad: the pad that sent the QoS message
@qos_message: the message
The function that will be called when pushing a buffers.
@pad: the pad to push
@buf: a GstBuffer to push
The function that will be called when pulling buffers.
@pad: the pad to pull
@Returns: a GstBuffer
The function that will be called when pulling a region buffer.
@pad: the pad to pull
@offset: the offset of the region to pull
@size: the size of the region to pull
@Returns: a GstBuffer
The direction this pad is
@GST_PAD_UNKNOWN: direction is unknown
@GST_PAD_SRC: this is a source pad
@GST_PAD_SINK: this is a sink pad
Flags for the pad
@GST_PAD_DISABLED: the pad is disabled
@GST_PAD_EOS: the pad is in end of stream state
@GST_PAD_FLAG_LAST: subclasses can use this number to enumerate their flags
@name:
@direction:
@Returns:
Destroy the pad
@pad: the pad to destroy
@temp:
@name:
@Returns:
@pad:
@Returns:
@pad:
@chain:
@pad:
@get:
@pad:
@getregion:
@pad:
@qos:
@pad:
@caps:
@pad:
@Returns:
@pad:
@name:
@pad:
@Returns:
@pad:
@parent:
@pad:
@Returns:
@pad:
@parent:
@pad:
@parent:
@pad:
@Returns:
@pad:
@Returns:
@srcpad:
@sinkpad:
@srcpad:
@sinkpad:
@pad:
@buffer:
@pad:
@Returns:
@pad:
@offset:
@size:
@Returns:
@pad:
@offset:
@size:
@pad:
@qos_message:
@pad:
@parent:
@Returns:
@parent:
@element:
@elements:
Defines an entry for a padfactory
The padfactory
Indicate that this pad will become available depending
on the media type. Use this in the factory definition
Indicate that this pad will always be available.
Use this in the factory definition
Indicates a sinkpad for the padfactory.
Indicates a srcpad for the padfactory.
Indicates when this pad will become available
@GST_PAD_ALWAYS: the pad is always available
@GST_PAD_SOMETIMES: the pad will become available depending on the media stream
@object:
@name_template:
@direction:
@presence:
@caps:
@factory:
@Returns:
@name_template:
@direction:
@presence:
@caps:
@Returns:
@parent:
@Returns:
@pad:
@parent:
@Returns:
Indicates this pad is active