diff options
author | Brendan Long <b.long@cablelabs.com> | 2013-10-30 17:02:02 -0500 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-06 22:50:53 +0100 |
commit | f6054722309c3702fbe40ccbf009b8f2cb37e4e2 (patch) | |
tree | dfb284fc1cc1291fbf95d37e62b6e76911851a5c | |
parent | 7b014d67a75866a0822020afc8651903267d9d99 (diff) |
docs: gst_pad_new_from_*_template and gst_buffer_pool_new constructors return floating references
https://bugzilla.gnome.org/show_bug.cgi?id=710342
-rw-r--r-- | gst/gstbufferpool.c | 2 | ||||
-rw-r--r-- | gst/gstpad.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index dff09fff97..6e25e46827 100644 --- a/gst/gstbufferpool.c +++ b/gst/gstbufferpool.c @@ -207,7 +207,7 @@ gst_buffer_pool_finalize (GObject * object) * * Creates a new #GstBufferPool instance. * - * Returns: (transfer full): a new #GstBufferPool instance + * Returns: (transfer floating): a new #GstBufferPool instance */ GstBufferPool * gst_buffer_pool_new (void) diff --git a/gst/gstpad.c b/gst/gstpad.c index 4b9f2a7f15..40d84606de 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -749,7 +749,7 @@ gst_pad_new (const gchar * name, GstPadDirection direction) * will be assigned. * This function makes a copy of the name so you can safely free the name. * - * Returns: (transfer full): a new #GstPad, or NULL in case of an error. + * Returns: (transfer floating): a new #GstPad, or NULL in case of an error. */ GstPad * gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name) @@ -770,7 +770,7 @@ gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name) * will be assigned. * This function makes a copy of the name so you can safely free the name. * - * Returns: (transfer full): a new #GstPad, or NULL in case of an error. + * Returns: (transfer floating): a new #GstPad, or NULL in case of an error. */ GstPad * gst_pad_new_from_static_template (GstStaticPadTemplate * templ, |