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) |
|---|
Signals¶
| Inherited: | Gst.Pad (2), Gst.Object (1), GObject.Object (1) |
|---|
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.PadAbstract: No Structure: Gst.ProxyPadClass-
classmethod
chain_default(pad, parent, buffer)[source]¶ Parameters: - pad (
Gst.Pad) – a sinkGst.Pad, returnsGst.FlowReturn.ERRORif not. - parent (
Gst.ObjectorNone) – the parent of pad orNone - buffer (
Gst.Buffer) – theGst.Bufferto send, returnGst.FlowReturn.ERRORif not.
Returns: a
Gst.FlowReturnfrom the pad.Return type: Invoke the default chain function of the proxy pad.
- pad (
-
classmethod
chain_list_default(pad, parent, list)[source]¶ Parameters: - pad (
Gst.Pad) – a sinkGst.Pad, returnsGst.FlowReturn.ERRORif not. - parent (
Gst.ObjectorNone) – the parent of pad orNone - list (
Gst.BufferList) – theGst.BufferListto send, returnGst.FlowReturn.ERRORif not.
Returns: a
Gst.FlowReturnfrom the pad.Return type: Invoke the default chain list function of the proxy pad.
- pad (
-
classmethod
getrange_default(pad, parent, offset, size)[source]¶ Parameters: - pad (
Gst.Pad) – a srcGst.Pad, returnsGst.FlowReturn.ERRORif not. - parent (
Gst.Object) – the parent of pad - offset (
int) – The start offset of the buffer - size (
int) – The length of the buffer
Returns: a
Gst.FlowReturnfrom the pad.buffer: a pointer to hold the Gst.Buffer, returnsGst.FlowReturn.ERRORifNone.Return type: (
Gst.FlowReturn, buffer:Gst.Buffer)Invoke the default getrange function of the proxy pad.
- pad (
-
classmethod
iterate_internal_links_default(pad, parent)[source]¶ Parameters: - pad (
Gst.Pad) – theGst.Padto get the internal links of. - parent (
Gst.ObjectorNone) – the parent of pad orNone
Returns: a
Gst.IteratorofGst.Pad, orNoneif pad has no parent. Unref each returned pad withGst.Object.unref().Return type: Gst.IteratororNoneInvoke the default iterate internal links function of the proxy pad.
- pad (
-
get_internal()[source]¶ Returns: the target Gst.ProxyPad, can beNone. Unref target pad after usage.Return type: Gst.ProxyPadorNoneGet the internal pad of self. Unref target pad after usage.
The internal pad of a
Gst.GhostPadis the internally used pad of opposite direction, which is used to link to the target.
-
classmethod