DeviceProvider.register
bool register(gst.plugin.Plugin plugin, string name, uint rank, gobject.types.GType type)Create a new device providerfactory capable of instantiating objects of the type and add the factory to plugin.
Parameters
plugin | #GstPlugin to register the device provider with, or null for a static device provider. |
name | name of device providers of this type |
rank | rank of device provider (higher rank means more importance when autoplugging) |
type | GType of device provider to register |
Returns
true, if the registering succeeded, false on error