[Bug 646566] Protect against Pad-Parent disappearing
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 2 06:43:51 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=646566
GStreamer | gstreamer (core) | git
Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ensonic at sonicpulse.de
--- Comment #25 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-05-02 13:43:45 UTC ---
(In reply to comment #21)
> I've committed all these patches now until we find a better solution. This way
> the races are at least fixed in the next release and we can find a perfect
> solution without any pressure and possibly using a suboptimal solution.
>
> 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
Wanna file a 0.11 bug so that we remember?
--
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