[Bug 646566] Protect against Pad-Parent disappearing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 8 06:08:41 PDT 2011


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #20 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-04-08 13:08:38 UTC ---
Not really in favour of this approach at all, there must be a better way to do
this that doesn't involve adding such checks to every single element.

Also, they're not really correct either, e.g.

  queue = GST_QUEUE (gst_pad_get_parent (pad));

might still throw a warning and possibly abort if get_parent() returns NULL,
which is arguably better than crashing, but still broken.

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