[Bug 644776] Macro to check check mutability in set_property functions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 18 01:19:25 PDT 2011


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

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2011-03-18 08:19:21 UTC ---
That's bug #571559 , which added the mutable flags. The patch had a function to
check mutability but that part was dropped because of several reason that apply
to this macro here too:
* It's not threadsafe if you don't lock or release the lock after checking and
before doing things
* Using the object lock here requires the element to protect their properties
with the object lock and only with the object lock

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