GObject.Object
Gst.Object
Gst.PluginFeature
Gst.ElementFactory
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstElementFactory |
Class : | ElementFactory |
Extends: | Gst.PluginFeature |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : Array
read only
|
Gst.ElementFactory | |
details : Gst.ElementDetails
read only
|
Gst.ElementFactory | |
flags : Number
read only
|
Gst.Object | |
interfaces : Array
read only
|
Gst.ElementFactory | |
loaded : Boolean
read only
|
Gst.PluginFeature | |
lock : GLib.Mutex
read only
|
Gst.Object | |
name : String
read only
|
Gst.PluginFeature | |
name_prefix : String
read only
|
Gst.Object | |
numpadtemplates : Number
read only
|
Gst.ElementFactory | |
object : Gst.Object
read only
|
Gst.PluginFeature | |
parent : Gst.PluginFeature
read only
|
Gst.ElementFactory | |
plugin_name : String
read only
|
Gst.PluginFeature | |
rank : Number
read only
|
Gst.PluginFeature | |
refcount : Number
read only
|
Gst.Object | |
staticpadtemplates : Array
read only
|
Gst.ElementFactory | |
type : Number
read only
|
Gst.ElementFactory | |
uri_protocols : String
read only
|
Gst.ElementFactory | |
uri_type : Number
read only
|
Gst.ElementFactory |
Method / Constructor | Defined By | |
---|---|---|
new Gst.ElementFactory
(Object properties)
Create a new Gst.ElementFactory
Create a new Gst.ElementFactory
|
||
Search for an element factory of the given name.
Search for an element factory of the given name. Refs the returned element factory; caller is responsible for unreffing.
|
Gst.ElementFactory | |
Create a new element of the type defined by the given element factory.
Create a new element of the type defined by the given element factory. If name is NULL, then the element will receive a guaranteed unique name, consisting of the element factory name and a number. If name is given, it will be given the name supplied.
|
Gst.ElementFactory | |
Gst.ElementFactory | ||
Gst.ElementFactory | ||
Checks whether the given plugin feature is at least the required version
|
Gst.PluginFeature | |
create
(String name)
:
Gst.Element
Create a new element of the type defined by the given elementfactory.
Create a new element of the type defined by the given elementfactory. It will be given the name supplied, since all elements require a name as their first argument.
|
Gst.ElementFactory | |
Gst.Object | ||
get_author
()
:
String
Gets the author for this factory.
Gets the author for this factory.
|
Gst.ElementFactory | |
get_description
()
:
String
Gets the description for this factory.
Gets the description for this factory.
|
Gst.ElementFactory | |
get_element_type
()
:
Number
Get the GType for elements managed by this factory.
Get the GType for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with gst_plugin_feature_load(). the factory is not loaded.
|
Gst.ElementFactory | |
get_klass
()
:
String
Gets the class for this factory.
Gets the class for this factory.
|
Gst.ElementFactory | |
get_longname
()
:
String
Gets the longname for this factory
Gets the longname for this factory
|
Gst.ElementFactory | |
get_name
()
:
String
Gets the name of a plugin feature.
Gets the name of a plugin feature.
|
Gst.PluginFeature | |
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_num_pad_templates
()
:
Number
Gets the number of pad_templates in this factory.
Gets the number of pad_templates in this factory.
|
Gst.ElementFactory | |
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 | |
get_rank
()
:
Number
Gets the rank of a plugin feature.
Gets the rank of a plugin feature.
|
Gst.PluginFeature | |
get_static_pad_templates
()
:
Array
Gets the GList of GstStaticPadTemplate for this factory.
Gets the GList of GstStaticPadTemplate for this factory.
|
Gst.ElementFactory | |
get_uri_protocols
()
:
Array
Gets a NULL-terminated array of protocols this element supports or NULL if no protocols are supported.
Gets a NULL-terminated array of protocols this element supports or NULL if no protocols are supported. You may not change the contents of the returned array, as it is still owned by the element factory. Use g_strdupv() to make a copy of the protocol string array if you need to.
|
Gst.ElementFactory | |
get_uri_type
()
:
Number
Gets the type of URIs the element supports or GST_URI_UNKNOWN if none.
Gets the type of URIs the element supports or GST_URI_UNKNOWN if none.
|
Gst.ElementFactory | |
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 | |
Gst.ElementFactory | ||
load
()
:
Gst.PluginFeature
Loads the plugin containing feature if it's not already loaded.
Loads the plugin containing feature if it's not already loaded. feature is unaffected; use the return value instead. Normally this function is used like this: |[ GstPluginFeature *loaded_feature; loaded_feature = gst_plugin_feature_load (feature); // presumably, we're no longer interested in the potentially-unloaded feature gst_object_unref (feature); feature = loaded_feature; ]|
|
Gst.PluginFeature | |
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 | |
set_name
(String name)
:
none
Sets the name of a plugin feature.
Sets the name of a plugin feature. The name uniquely identifies a feature within all features of the same type. Renaming a plugin feature is not allowed. A copy is made of the name so you should free the supplied name after calling this function.
|
Gst.PluginFeature | |
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 | |
set_rank
(Number rank)
:
none
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
|
Gst.PluginFeature | |
type_name_filter
(TypeNameData data)
:
Boolean
Compares type and name of plugin feature.
Compares type and name of plugin feature. Can be used with gst_filter_run().
|
Gst.PluginFeature | |
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 | |
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_factory
()
:
Gst.ElementFactory
Retrieves the factory that was used to create this element.
|