From: Guillaume Desmottes Date: Wed, 13 Jul 2016 13:43:21 +0000 (+0200) Subject: message: fix annotation of parse_stream_{collection,streams_selected} X-Git-Tag: 1.10.4~163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31ef1051100f1c11a038a9dd1c32753eaa8efde3;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/gstmessage.c b/gst/gstmessage.c index b3f09d0..0e7c1bc 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.