event: Fix gst_event_parse_stream_collection annotation
authorPhilippe Normand <philn@igalia.com>
Thu, 29 Dec 2022 18:16:31 +0000 (18:16 +0000)
committerPhilippe Normand <philn@igalia.com>
Thu, 29 Dec 2022 18:16:31 +0000 (18:16 +0000)
The output parameter ownership is passed to the caller.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3659>

subprojects/gstreamer/gst/gstevent.c

index 6ab77b3..0bd4ac0 100644 (file)
@@ -1979,7 +1979,7 @@ gst_event_new_stream_collection (GstStreamCollection * collection)
 /**
  * gst_event_parse_stream_collection:
  * @event: a stream-collection event
- * @collection: (out) (optional): pointer to store the collection
+ * @collection: (out) (optional) (transfer full): pointer to store the collection.
  *
  * Retrieve new #GstStreamCollection from STREAM_COLLECTION event @event.
  *