diff options
Diffstat (limited to 'gst/gstdeviceprovider.c')
-rw-r--r-- | gst/gstdeviceprovider.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/gst/gstdeviceprovider.c b/gst/gstdeviceprovider.c index ea91200..8ad737c 100644 --- a/gst/gstdeviceprovider.c +++ b/gst/gstdeviceprovider.c @@ -181,6 +181,8 @@ gst_device_provider_finalize (GObject * object) * @value: the value to set * * Set @key with @value as metadata in @klass. + * + * Since: 1.4 */ void gst_device_provider_class_add_metadata (GstDeviceProviderClass * klass, @@ -198,7 +200,7 @@ gst_device_provider_class_add_metadata (GstDeviceProviderClass * klass, * gst_device_provider_class_add_static_metadata: * @klass: class to set metadata for * @key: the key to set - * @value: the value to set + * @value: (transfer full): the value to set * * Set @key with @value as metadata in @klass. * @@ -263,14 +265,15 @@ gst_device_provider_class_set_metadata (GstDeviceProviderClass * klass, /** * gst_device_provider_class_set_static_metadata: * @klass: class to set metadata for - * @longname: The long English name of the element. E.g. "File Sink" - * @classification: String describing the type of element, as an unordered list - * separated with slashes ('/'). See draft-klass.txt of the design docs - * for more details and common types. E.g: "Sink/File" - * @description: Sentence describing the purpose of the element. - * E.g: "Write stream to a file" - * @author: Name and contact details of the author(s). Use \n to separate - * multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>" + * @longname: (transfer full): The long English name of the element. E.g. "File Sink" + * @classification: (transfer full): String describing the type of element, as + * an unordered list separated with slashes ('/'). See draft-klass.txt of the + * design docs for more details and common types. E.g: "Sink/File" + * @description: (transfer full): Sentence describing the purpose of the + * element. E.g: "Write stream to a file" + * @author: (transfer full): Name and contact details of the author(s). Use \n + * to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at + * foo.com>" * * Sets the detailed information for a #GstDeviceProviderClass. * <note>This function is for use in _class_init functions only.</note> @@ -377,9 +380,9 @@ gst_device_provider_get_devices (GstDeviceProvider * provider) * gst_device_provider_start: * @provider: A #GstDeviceProvider * - * Starts providering the devices. This will cause #GST_MESSAGE_DEVICE messages - * to be posted on the provider's bus when devices are added or removed from - * the system. + * Starts providering the devices. This will cause #GST_MESSAGE_DEVICE_ADDED + * and #GST_MESSAGE_DEVICE_REMOVED messages to be posted on the provider's bus + * when devices are added or removed from the system. * * Since the #GstDeviceProvider is a singleton, * gst_device_provider_start() may already have been called by another |