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 99413 - when to gst_event_unref ?
when to gst_event_unref ?
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other other
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-24 06:46 UTC by Joshua N Pritikin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
doc patch (724 bytes, patch)
2002-11-25 15:59 UTC, Joshua N Pritikin
none Details | Review

Description Joshua N Pritikin 2002-11-24 06:46:56 UTC
Where is the clear-cut documentation that describes when and when not to
call gst_event_unref?
Comment 1 Ronald Bultje 2002-11-24 10:30:42 UTC
Basically, never (for an application).

It sends an event to a pipeline, which then takes ownership of the
event, treating it just like any GstData* object. When the event has
been used by some plugin, it unref()s it automatically, just like it
would do with a GstBuffer*. So applications don't need to unref()
anything here.
Comment 2 Joshua N Pritikin 2002-11-25 15:57:30 UTC
What i want is the documentation updated.  Is this patch OK?
Comment 3 Joshua N Pritikin 2002-11-25 15:59:28 UTC
Created attachment 12541 [details] [review]
doc patch
Comment 4 Christian Fredrik Kalager Schaller 2002-11-28 00:13:28 UTC
thanks joshua, applied this patch :)