mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
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
This commit is contained in:
parent
514beb7d60
commit
31ef105110
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue