DynamicTypeFactory


Object Hierarchy:

Gst.DynamicTypeFactory Gst.DynamicTypeFactory Gst.DynamicTypeFactory Gst.PluginFeature Gst.PluginFeature Gst.PluginFeature->Gst.DynamicTypeFactory Gst.Object Gst.Object Gst.Object->Gst.PluginFeature GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gst.Object GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned

Description:

[ CCode ( type_id = "gst_dynamic_type_factory_get_type ()" ) ]
[ Version ( since = "1.12" ) ]
public sealed class DynamicTypeFactory : PluginFeature

DynamicTypeFactory is used to represent a type that can be automatically loaded the first time it is used.

For example, a non-standard type for use in caps fields.

In general, applications and plugins don't need to use the factory beyond registering the type in a plugin init function. Once that is done, the type is stored in the registry, and ready as soon as the registry is loaded.

typeof (unichar2) typeof (unichar2) Registering a type for dynamic loading

static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_dynamic_type_register (plugin, GST_TYPE_CUSTOM_CAPS_FIELD);
}


Namespace: Gst
Package: gstreamer-1.0

Content:

Static methods:

Creation methods:

Inherited Members: