DeviceProvider.register

Create a new device providerfactory capable of instantiating objects of the @type and add the factory to @plugin.

class DeviceProvider
static
bool
register

Parameters

plugin Plugin

#GstPlugin to register the device provider with, or %NULL for a static device provider.

name string

name of device providers of this type

rank uint

rank of device provider (higher rank means more importance when autoplugging)

type GType

GType of device provider to register

Return Value

Type: bool

%TRUE, if the registering succeeded, %FALSE on error

Meta