[gstreamer-bugs] [Bug 631580] Race in all the pad functions...

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 6 22:03:12 PDT 2010


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

--- Comment #2 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2010-10-07 05:03:08 UTC ---
Created an attachment (id=171876)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=171876)
test program

I guess the solution in the "easy" solution is to verify the return value of
gst_pad_get_parent() everywhere in the tree...

Another solution would be change GstPad to only hold a ref to the parent of the
pad while calling the functions that don't require the pad to be active, and
not call them if there is no parent and one was ever set.

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