GNOME Bugzilla – Bug 99413
when to gst_event_unref ?
Last modified: 2004-12-22 21:47:04 UTC
Where is the clear-cut documentation that describes when and when not to call gst_event_unref?
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.
What i want is the documentation updated. Is this patch OK?
Created attachment 12541 [details] [review] doc patch
thanks joshua, applied this patch :)