[Bug 609473] GstMiniObject derived classes could support storing data for bindings

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 21 09:30:53 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=609473
  GStreamer | gstreamer (core) | git

--- Comment #16 from José Alburquerque <jaalburqu at svn.gnome.org> 2011-04-21 16:30:48 UTC ---
Logically a toggle reference is an actual reference and it is possible (in
GObject) to add more than one toggle reference although the docs say that in
that case there will be no toggle notification until all but one toggle
reference remains.  Notification occurs when the toggle reference becomes weak
(ie. the toggle reference is the last reference) and also when the toggle
reference becomes strong (when a new reference to the object occurs while the
toggle reference is weak).

I guess with GstMiniObject it could be different in that there could be some
sort of flag set when a toggle reference is added or some sort of count of
toggle references which would could all be notified about the mini object
having a final reference but then it would not be logically equivalent to
GObject's functionality.  In that case it would have to be made clear to
developers somehow.

-- 
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