After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533635 - gst_event_new_tag() documentation should say it takes ownership.
gst_event_new_tag() documentation should say it takes ownership.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-17 21:54 UTC by Murray Cumming
Modified: 2008-05-18 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2008-05-17 21:54:58 UTC
gst_event_new_tag() takes ownership of the GstTagList. But the documentation for that function does not say that.

By the way, I hate the takes-ownership stuff with GstTagList and GstStructure. It's nasty for language bindings. But I know it's too late to change that now.
Comment 1 Tim-Philipp Müller 2008-05-18 11:36:22 UTC
Fixed, thanks for pointing it out:

 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>

        * gst/gstevent.c:
          Document that gst_event_new_tag() and gst_event_new_navigation()
          take ownership of the taglist/structure passed to them. (#533635).