GObject.Object
Gst.Object
Gst.PadTemplate
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstPadTemplate |
Class : | PadTemplate |
Extends: | Gst.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : Array
read only
|
Gst.PadTemplate | |
caps : Gst.Caps
|
Gst.PadTemplate | |
caps : Gst.Caps
read only
|
Gst.PadTemplate | |
direction : Gst.PadDirection
|
Gst.PadTemplate | |
direction : Gst.PadDirection
read only
|
Gst.PadTemplate | |
flags : Number
read only
|
Gst.Object | |
lock : GLib.Mutex
read only
|
Gst.Object | |
name : String
|
Gst.Object | |
name_prefix : String
read only
|
Gst.Object | |
name_template : String
|
Gst.PadTemplate | |
name_template : String
read only
|
Gst.PadTemplate | |
object : Gst.Object
read only
|
Gst.PadTemplate | |
parent : Gst.Object
read only
|
Gst.Object | |
presence : Gst.PadPresence
|
Gst.PadTemplate | |
presence : Gst.PadPresence
read only
|
Gst.PadTemplate | |
refcount : Number
read only
|
Gst.Object |
Method / Constructor | Defined By | |
---|---|---|
new Gst.PadTemplate
(Object properties)
Create a new Gst.PadTemplate
Create a new Gst.PadTemplate
|
||
new Gst.PadTemplate.c_new
(String name_template, PadDirection direction, PadPresence presence, Caps caps)
:
Gst.PadTemplate
Create a new Gst.PadTemplate
Create a new Gst.PadTemplate
|
||
Gst.Object | ||
get_caps
()
:
Gst.Caps
Gets the capabilities of the pad template.
Gets the capabilities of the pad template. the caps, take a ref (see gst_caps_ref ()).
|
Gst.PadTemplate | |
get_name
()
:
String
Returns a copy of the name of object.
Returns a copy of the name of object. Caller should g_free() the return value after usage. For a nameless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_name_prefix
()
:
String
Returns a copy of the name prefix of object.
Returns a copy of the name prefix of object. Caller should g_free() the return value after usage. For a prefixless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_parent
()
:
Gst.Object
Returns the parent of object.
Returns the parent of object. This function increases the refcount of the parent object so you should gst_object_unref() it after usage. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
get_path_string
()
:
String
Generates a string describing the path of object in the object hierarchy.
Generates a string describing the path of object in the object hierarchy. Only useful (or used) for debugging. MT safe. Grabs and releases the GstObject's LOCK for all objects in the hierarchy.
|
Gst.Object | |
Check if object has an ancestor ancestor somewhere up in the hierarchy.
Check if object has an ancestor ancestor somewhere up in the hierarchy. MT safe. Grabs and releases object's locks.
|
Gst.Object | |
pad_created
(Pad pad)
:
none
Emit the pad-created signal for this template when created by this pad.
Emit the pad-created signal for this template when created by this pad.
|
Gst.PadTemplate | |
replace
(Object newobj)
:
none
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj.
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj. Be carefull when calling this function, it does not take any locks. You might want to lock the object owning oldobj pointer before calling this function. Make sure not to LOCK oldobj because it might be unreffed which could cause a deadlock when it is disposed.
|
Gst.Object | |
restore_thyself
(Node self)
:
none
Restores object with the data from the parent XML node.
Restores object with the data from the parent XML node.
|
Gst.Object | |
save_thyself
(Node parent)
:
libxml2.Node
Saves object into the parent XML node.
Saves object into the parent XML node.
|
Gst.Object | |
Sets the name of object, or gives object a guaranteed unique name (if name is NULL).
Sets the name of object, or gives object a guaranteed unique name (if name is NULL). This function makes a copy of the provided name, so the caller retains ownership of the name it sent. a parent cannot be renamed, this function returns FALSE in those cases. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
set_name_prefix
(String name_prefix)
:
none
Sets the name prefix of object to name_prefix.
Sets the name prefix of object to name_prefix. This function makes a copy of the provided name prefix, so the caller retains ownership of the name prefix it sent. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
Sets the parent of object to parent.
Sets the parent of object to parent. The object's reference count will be incremented, and any floating reference will be removed (see gst_object_sink()). This function causes the parent-set signal to be emitted when the parent was successfully set. already had a parent or object and parent are the same. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
unparent
()
:
none
Clear the parent of object, removing the associated reference.
Clear the parent of object, removing the associated reference. This function decreases the refcount of object. MT safe. Grabs and releases object's lock.
|
Gst.Object |
Event | Defined By | |
---|---|---|
The deep notify signal is used to be notified of property changes.
The deep notify signal is used to be notified of property changes. It is typically attached to the toplevel bin to receive notifications from all the elements contained in that bin.
|
Gst.Object | |
Trigered whenever a new object is saved to XML.
Trigered whenever a new object is saved to XML. You can connect to this signal to insert custom XML tags into the core XML.
|
Gst.Object | |
pad_created (PadTemplate self, Pad pad)
:
none
This signal is fired when an element creates a pad from this template.
This signal is fired when an element creates a pad from this template.
|
Gst.PadTemplate | |
Emitted when the parent of an object is set.
Emitted when the parent of an object is set.
|
Gst.Object | |
Emitted when the parent of an object is unset.
Emitted when the parent of an object is unset.
|
Gst.Object |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst.Element
Method |
get_compatible_pad_template
(PadTemplate compattempl)
:
Gst.PadTemplate
Retrieves a pad template from element that is compatible with compattempl.
|
Gst.GhostPad
Method |
Create a new Gst.GhostPad
|
Gst.GhostPad
Method |
Create a new Gst.GhostPad
|
Gst.Pad
Property |
template : Gst.PadTemplate
|
Gst.Pad
Method |
Create a new Gst.Pad
|
Gst.Pad
Method |
get_pad_template
()
:
Gst.PadTemplate
Gets the template for pad.
|
Gst.StaticPadTemplate
Method |
get
()
:
Gst.PadTemplate
Converts a GstStaticPadTemplate into a GstPadTemplate.
|