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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 18 10:39:10 PDT 2011

  GStreamer | gstreamer (core) | git

--- Comment #3 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2011-03-18 17:39:04 UTC ---
I had completely missed that bit of the patch of bug #571559.

I'm not sure if we want t completely disable that check if compiled with
G_DISABLE_CHECKS.. If we do, a better approach then is to use the function from
the other bug and do something like this in the various functions:

g_return_if_fail (gst_param_spec_is_mutable (pspec, element));

That said, this doesn't help for the case where we'd like to keep the lock held
after doing the check to prevent a state change. Maybe we want a _locked()
version ?

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