Class: Gst::DeviceProviderFactory
- Inherits:
-
PluginFeature
- Object
- GObject::InitiallyUnowned
- Object
- PluginFeature
- Gst::DeviceProviderFactory
- Defined in:
- (unknown)
Overview
The opaque Gst::DeviceProviderFactoryClass data structure.
Class Method Summary collapse
-
.find(name) ⇒ Gst::DeviceProviderFactory
Search for an device provider factory of the given name.
-
.get_by_name(factoryname) ⇒ Gst::DeviceProvider
Returns the device provider of the type defined by the given device provider factory.
-
.list_get_device_providers(minrank) ⇒ GLib::List<Gst::DeviceProviderFactory>
Get a list of factories with a rank greater or equal to minrank.
Instance Method Summary collapse
-
#device_provider_type ⇒ GLib::Type
Get the #GType for device providers managed by this factory.
-
#get ⇒ Gst::DeviceProvider
Returns the device provider of the type defined by the given device providerfactory.
-
#get_metadata(key) ⇒ String
Get the metadata on factory with key.
-
#has_classes(classes) ⇒ Boolean
Check if factory matches all of the given classes.
-
#has_classesv(classes) ⇒ Boolean
Check if factory matches all of the given classes.
-
#metadata_keys ⇒ Array<String>
Get the available keys for the metadata on factory.
Methods inherited from PluginFeature
#check_version, list_copy, list_debug, list_free, #load, #plugin, #plugin_name, #rank, #rank=, rank_compare_func, #rank_raw
Methods inherited from Object
#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref
Class Method Details
.find(name) ⇒ Gst::DeviceProviderFactory
Search for an device provider factory of the given name. Refs the returned device provider factory; caller is responsible for unreffing. found, nil otherwise
.get_by_name(factoryname) ⇒ Gst::DeviceProvider
Returns the device provider of the type defined by the given device provider factory. if unable to create device provider
.list_get_device_providers(minrank) ⇒ GLib::List<Gst::DeviceProviderFactory>
Get a list of factories with a rank greater or equal to minrank. The list of factories is returned by decreasing rank. a #GList of Gst::DeviceProviderFactory device providers. Use gst_plugin_feature_list_free() after usage.
Instance Method Details
#device_provider_type ⇒ GLib::Type
Get the #GType for device providers managed by this factory. The type can only be retrieved if the device provider factory is loaded, which can be assured with gst_plugin_feature_load().
#get ⇒ Gst::DeviceProvider
Returns the device provider of the type defined by the given device providerfactory. if the device provider couldn't be created
#get_metadata(key) ⇒ String
Get the metadata on factory with key. when there was no metadata with the given key.
#has_classes(classes) ⇒ Boolean
Check if factory matches all of the given classes
#has_classesv(classes) ⇒ Boolean
Check if factory matches all of the given classes
#metadata_keys ⇒ Array<String>
Get the available keys for the metadata on factory. an array of key strings, or nil when there is no metadata. Free with g_strfreev() when no longer needed.