summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-13 12:26:13 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-13 12:26:13 -0400
commitbdfcf43f74e5ccde455ef5fde9a02c50dfeb181a (patch)
tree6273c02f3cf0978b80a14011fba383b41ae06719 /gst
parenta65cea7c6990dcd81384824877dc8c7af9d04fbe (diff)
gstprection: _add_protection_meta() is transfer none
Just like gst_buffer_add_meta() this function should also be transfer none. This also silence a gi warning about returning a copy of a non boxed bare structure.
Diffstat (limited to 'gst')
-rw-r--r--gst/gstprotection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstprotection.c b/gst/gstprotection.c
index 9d25fb984..c5223eeaa 100644
--- a/gst/gstprotection.c
+++ b/gst/gstprotection.c
@@ -111,7 +111,7 @@ gst_protection_meta_get_info (void)
*
* Attaches protection metadata to a #GstBuffer.
*
- * Returns: a pointer to the added #GstProtectionMeta if successful; %NULL if
+ * Returns: (transfer none): a pointer to the added #GstProtectionMeta if successful; %NULL if
* unsuccessful.
*
* Since: 1.6