Gst.ProxyPad

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 Gst.ProxyPad Gst.ProxyPad Gst.Pad->Gst.ProxyPad

Subclasses:Gst.GhostPad

Methods

Inherited:Gst.Pad (84), Gst.Object (27), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class chain_default (pad, parent, buffer)
class chain_list_default (pad, parent, list)
class getrange_default (pad, parent, offset, size)
class iterate_internal_links_default (pad, parent)
  get_internal ()

Virtual Methods

Inherited:Gst.Pad (2), Gst.Object (1), GObject.Object (7)

Properties

Inherited:Gst.Pad (4), Gst.Object (2)

Fields

Inherited:Gst.Pad (2), Gst.Object (1), GObject.Object (1)
Name Type Access Description
pad Gst.Pad r  

Class Details

class Gst.ProxyPad(**kwargs)
Bases:Gst.Pad
Abstract:No
Structure:Gst.ProxyPadClass
classmethod chain_default(pad, parent, buffer)[source]
Parameters:
Returns:

a Gst.FlowReturn from the pad.

Return type:

Gst.FlowReturn

Invoke the default chain function of the proxy pad.

classmethod chain_list_default(pad, parent, list)[source]
Parameters:
Returns:

a Gst.FlowReturn from the pad.

Return type:

Gst.FlowReturn

Invoke the default chain list function of the proxy pad.

classmethod getrange_default(pad, parent, offset, size)[source]
Parameters:
Returns:

a Gst.FlowReturn from the pad.

buffer:a pointer to hold the Gst.Buffer, returns Gst.FlowReturn.ERROR if None.

Return type:

(Gst.FlowReturn, buffer: Gst.Buffer)

Invoke the default getrange function of the proxy pad.

Parameters:
Returns:

a Gst.Iterator of Gst.Pad, or None if pad has no parent. Unref each returned pad with Gst.Object.unref().

Return type:

Gst.Iterator or None

Invoke the default iterate internal links function of the proxy pad.

get_internal()[source]
Returns:the target Gst.ProxyPad, can be None. Unref target pad after usage.
Return type:Gst.ProxyPad or None

Get the internal pad of self. Unref target pad after usage.

The internal pad of a Gst.GhostPad is the internally used pad of opposite direction, which is used to link to the target.