Commit 2d37f06c authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

events: fix g-i annotation for gst_event_new_tag() which takes ownership of the tag list

parent 1a6f61a1
......@@ -683,7 +683,8 @@ gst_event_parse_new_segment_full (GstEvent * event, gboolean * update,
/**
* gst_event_new_tag:
* @taglist: metadata list. The event will take ownership of @taglist.
* @taglist: (transfer full): metadata list. The event will take ownership
* of the taglist.
*
* Generates a metadata tag event from the given @taglist.
*
......@@ -703,6 +704,9 @@ gst_event_new_tag (GstTagList * taglist)
* @taglist: (out) (transfer none): pointer to metadata list
*
* Parses a tag @event and stores the results in the given @taglist location.
* No reference to the taglist will be returned, it remains valid only until
* the @event is freed. Don't modify or free the taglist, make a copy if you
* want to modify it or store it for later use.
*/
void
gst_event_parse_tag (GstEvent * event, GstTagList ** taglist)
......@@ -1194,6 +1198,7 @@ gst_event_parse_step (GstEvent * event, GstFormat * format, guint64 * amount,
*
* Since: 0.10.26
*/
/* FIXME 0.11: take ownership of msg for consistency? */
GstEvent *
gst_event_new_sink_message (GstMessage * msg)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment