mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
device: gst_device_create_element() is transfer floating
, not transfer full
Fixing the annotation fixes leaking of the created element in all bindings using GObject-Introspection. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/444
This commit is contained in:
parent
abeb5e677f
commit
937a6ca6d3
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ gst_device_set_property (GObject * object, guint prop_id,
|
|||
* Creates the element with all of the required parameters set to use
|
||||
* this device.
|
||||
*
|
||||
* Returns: (transfer full) (nullable): a new #GstElement configured to use
|
||||
* Returns: (transfer floating) (nullable): a new #GstElement configured to use
|
||||
* this device
|
||||
*
|
||||
* Since: 1.4
|
||||
|
|
Loading…
Reference in a new issue