[Bug 693281] [PATCH] GstObject: re-enable "notify::parent"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 25 23:23:25 PDT 2013


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

--- Comment #7 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2013-07-26 06:23:19 UTC ---
There are two cases. After g_object_notify_queue_thaw() this is called for
multiple properties. On a normal g_object_notify() it is called for one pspec.
If n_pspecs==1 and *pspec->name=="parent" we can savely bypass the lock. But
what if n_pspecs>1?

We could simply not take the lock here (as in the patch) and say that modifying
the parentage from the signal-handlers is not allowed.

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