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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 29 09:12:21 PDT 2011


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #24 from Wim Taymans <wim.taymans at gmail.com> 2011-04-29 16:12:19 UTC ---
(In reply to comment #22)
> I would just like to humbly say that considering the mini object writable based
> on it's reference is rather weird also.  For 0.11 that should be different so
> it doesn't impact bindings that use the reference count for purpose of just
> memory management (it's just humbly my opinion; BTW I think I filed a bug about
> this a very long time ago that could be considered for 0.11 [1]).  At any rate,
> I'll provide an updated patch next week.

In general I disagree. Making writability based on anything other than the
refcount is also practically impossible or with extreme overhead. This is
unlikely to be fixed in 0.11 and I would suggest to see if alternatives can be
found. We can make a private pointer with a destroy notify, for example.

> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=510301

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