gst.dynamic_type_factory
Module for DynamicTypeFactory class
Types 3
#GstDynamicTypeFactory 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.
Registering a type for dynamic loading
static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_dynamic_type_register (plugin, GST_TYPE_CUSTOM_CAPS_FIELD);
}Methods
DynamicTypeFactory self()Returns `this`, for use in `with` statements.DynamicTypeFactoryGidBuilder builder()Get builder for [gst.dynamic_type_factory.DynamicTypeFactory] Returns: New builder objectgobject.types.GType load(string factoryname)Fluent builder implementation template for gst.dynamic_type_factory.DynamicTypeFactory
Fluent builder for gst.dynamic_type_factory.DynamicTypeFactory
Methods
DynamicTypeFactory build()Create object from builder. Returns: New object