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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 28 11:49:13 PDT 2013


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

--- Comment #9 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2013-07-28 18:49:06 UTC ---
I think the GstObject.lock should be a GRecMutex. The problem is that
gst_object_dispatch_properties_changed() walks a chain of
obj->parent->grand_parent->...->root, where we need to avoid to lock parent in
some cases.
Now gst_object_set_parent() which should call g_object_notify_by_pspec() does
not know whether parent is locked or not.

Should we add a gst_object_set_parent_locked() which would unlock parent and
call gst_object_set_parent() - not pretty either :/

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