From 9ac2434c1a07a40b0bcb81e922f5a4c52154473e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 18 May 2008 11:35:43 +0000 Subject: [PATCH] gst/gstevent.c: Document that gst_event_new_tag() and gst_event_new_navigation() take ownership of the taglist/struct... Original commit message from CVS: * gst/gstevent.c: Document that gst_event_new_tag() and gst_event_new_navigation() take ownership of the taglist/structure passed to them. (#533635). --- ChangeLog | 6 ++++++ gst/gstevent.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a4ce19b49..ce9025fa48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-18 Tim-Philipp Müller + + * gst/gstevent.c: + Document that gst_event_new_tag() and gst_event_new_navigation() + take ownership of the taglist/structure passed to them. (#533635). + 2008-05-17 Jan Schmidt * docs/Makefile.am: diff --git a/gst/gstevent.c b/gst/gstevent.c index adf8835ecf..02bf16bcd5 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -628,7 +628,7 @@ gst_event_parse_new_segment_full (GstEvent * event, gboolean * update, /** * gst_event_new_tag: - * @taglist: metadata list + * @taglist: metadata list. The event will take ownership of @taglist. * * Generates a metadata tag event from the given @taglist. * @@ -929,7 +929,8 @@ gst_event_parse_seek (GstEvent * event, gdouble * rate, /** * gst_event_new_navigation: - * @structure: description of the event + * @structure: description of the event. The event will take ownership of the + * structure. * * Create a new navigation event from the given description. *