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.
This commit is contained in:
Nicolas Dufresne 2015-06-13 12:26:13 -04:00
parent a65cea7c69
commit bdfcf43f74

View file

@ -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