[Bug 702960] gst_element_add_pad()'s pad parameter should be marked as transfer none
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jul 26 02:38:12 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=702960
GStreamer | gstreamer (core) | git
--- Comment #14 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-07-26 09:38:09 UTC ---
It's also important to C developers, and it would be nice to differentiate
between these cases from a documentation annotation point of view at least.
Otherwise... a function that is (transfer none) and just calls g_object_ref()
on the parameter will behave different than a function that has (transfer none)
and calls g_object_ref_sink().
>From a bindings point of view this distinction probably doesn't matter as
bindings probably already do g_object_ref_sink() themselves right after they
got the object if it was floating.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list