diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-09-12 10:03:08 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-09-15 00:26:54 +0100 |
commit | 937a6ca6d323a4309f9b9f019a39a3b93cf243e7 (patch) | |
tree | 1142f8b7156d7186f4e60bcb5bbe55e1ed61d745 | |
parent | abeb5e677f756eb940954d0f0c27285ab97cdd23 (diff) |
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
-rw-r--r-- | gst/gstdevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstdevice.c b/gst/gstdevice.c index 786acfb5f..60407823f 100644 --- a/gst/gstdevice.c +++ b/gst/gstdevice.c @@ -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 |