[Bug 631580] Race in all the pad functions that don't require the pad to be active

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 8 07:41:46 PDT 2011


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

--- Comment #4 from Sebastian Dröge <slomo at circular-chaos.org> 2011-04-08 14:41:43 UTC ---
Copying my comment from bug #646566 here, which essentially seems to be what
Olivier and Wim want to have too:

IMHO the best solution for this would be to
a) add a GstObject *parent parameter to all pad callbacks and
b) add a flag to GstPad that you don't want to have your callback called if
there's no parent (and by default that flag is disabled)

For this we have to wait until 0.11 though because it's an API change.

b) might be possible to do in 0.10 by taking a reference of the parent before
calling the callbacks

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