GstPad
The connection between Elements
Elements are connected to each other via "pads", which are extremely light-weight generic
connections.
Get the name of the pad.
@pad: the pad to query
Get the private data set by the element that owns the pad.
@pad: the pad to query
Get the parent element of this pad.
@pad: the pad to query
Get the padtemplate that was used to create this pad. NULL if no padtemplate
was used.
@pad: the pad to query
Return the real pad of this pad.
@pad: the pad to query
Get the pad direction.
@pad: the pad to query
Get the capabilities of a pad.
@pad: the pad to query
Get the peerpad of this pad.
@pad: the pad to query
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.
You can specify which buffer to get using an offset/length pair or
a start/stop timecode pair.
@pad: the pad to get a buffer from
@type: the type of region to get (time or offset based)
@offset: the offset of the region to get
@len: the length 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 in an EOS case.
@pad: the pad that needs to be set to EOS state
@Returns: TRUE if EOS was successful, FALSE otherwise
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 region types for #gst_pad_pullregion.
@GST_REGION_NONE: no type specified
@GST_REGION_OFFSET_LEN: an offet/length pair
@GST_REGION_TIME_LEN: a time start/length pair
The function that will be called when pulling a region buffer.
You can specify which buffer to get using an offset/length pair or
a start/stop timecode pair.
@pad: the pad to get a buffer from
@type: the type of region to get (time or offset based)
@offset: the offset of the region to get
@len: the length of the region to get
@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
@templ:
@name:
@Returns:
@temp:
@pad:
@Returns:
@pad:
@chain:
@pad:
@get:
@pad:
@getregion:
@pad:
@qos:
@pad:
@eos:
@pad:
@caps:
@pad:
@Returns:
@pad:
@name:
@Returns:
@srcpad:
@sinkpad:
@Returns:
@pad:
@name:
@pad:
@Returns:
@pad:
@priv:
@pad:
@Returns:
@pad:
@parent:
@pad:
@Returns:
@pad:
@ghostpad:
@pad:
@ghostpad:
@pad:
@Returns:
@pad:
@Returns:
@srcpad:
@sinkpad:
@srcpad:
@sinkpad:
@pad:
@buf:
@buffer:
@pad:
@Returns:
@pad:
@type:
@offset:
@len:
@Returns:
@size:
@pad:
@Returns:
@pad:
@qos_message:
Call the EOS function of the pad
@pad: the pad to call the eos function of.
@self:
@parent:
@element:
@elements:
@pad:
@pad:
@pad:
@pad:
@caps:
@direction:
@threadstate:
@peer:
@bufpen:
@regiontype:
@offset:
@len:
@chainfunc:
@getfunc:
@getregionfunc:
@qosfunc:
@eosfunc:
@pushfunc:
@pullfunc:
@pullregionfunc:
@ghostpads:
Get the direction of the real pad.
@pad: the realpad to query.
Get the caps of the real pad.
@pad: the real pad to query.
Get the peer element of the real pad.
@pad: the real pad to query.
Get the bufpen of the real pad.
@pad: the real pad to query.
Get the chain function of the real pad.
@pad: the real pad to query.
Get get getfunction of the real pad.
@pad: the real pad to query.
Get the getregion function of the real pad.
@pad: the real pad to query.
Get the pushfunction of the real pad.
@pad: the real pad to query.
Get the pullfunction of the real pad.
@pad: the real pad to query.
Get the pullregion function of the real pad.
@pad: the real pad to query.
Get the QoS function of the real pad.
@pad: the real pad to query.
Get the EOS function of the real pad.
@pad: the real pad to query.
Get the real pad of this ghost pad.
@pad: the real pad to query.
@pad:
@realpad:
@name:
@pad:
@Returns:
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 that this pad will be available on request. Use
this in the factory definition.
Indicates a sinkpad for the padfactory.
Indicates a srcpad for the padfactory.
Starts the declaration of a the capabilities for this padtemplate.
@a...: a capability factory
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
@GST_PAD_REQUEST:
@object:
@name_template:
@direction:
@presence:
@caps:
@factory:
@Returns:
@name_template:
@direction:
@presence:
@caps:
@Returns:
@parent:
@Returns:
@templ:
@parent:
@Returns:
@pad: