From 31ef1051100f1c11a038a9dd1c32753eaa8efde3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 13 Jul 2016 15:43:21 +0200 Subject: [PATCH] message: fix annotation of parse_stream_{collection,streams_selected} gst_structure_id_get() returns a new reference so the returned object is actually (transfer full). The unit tests was already unreffing the objects. https://bugzilla.gnome.org/show_bug.cgi?id=768776 --- gst/gstmessage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstmessage.c b/gst/gstmessage.c index b3f09d0f1c..0e7c1bc047 100644 --- a/gst/gstmessage.c +++ b/gst/gstmessage.c @@ -2560,7 +2560,7 @@ gst_message_new_stream_collection (GstObject * src, /** * gst_message_parse_stream_collection: * @message: a #GstMessage of type %GST_MESSAGE_STREAM_COLLECTION - * @collection: (out) (allow-none) (transfer none): A location where to store a + * @collection: (out) (allow-none) (transfer full): A location where to store a * pointer to the #GstStreamCollection, or %NULL * * Parses a stream-collection message. @@ -2708,7 +2708,7 @@ gst_message_streams_selected_get_stream (GstMessage * msg, guint idx) /** * gst_message_parse_streams_selected: * @message: a #GstMessage of type %GST_MESSAGE_STREAMS_SELECTED - * @collection: (out) (allow-none) (transfer none): A location where to store a + * @collection: (out) (allow-none) (transfer full): A location where to store a * pointer to the #GstStreamCollection, or %NULL * * Parses a streams-selected message.