From bdfcf43f74e5ccde455ef5fde9a02c50dfeb181a Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Sat, 13 Jun 2015 12:26:13 -0400 Subject: [PATCH] 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. --- gst/gstprotection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstprotection.c b/gst/gstprotection.c index 9d25fb9..c5223ee 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 -- 2.7.4