[gstreamer-bugs] [Bug 604091] tee: cleanup requestpads in dispose

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 9 04:34:09 PST 2009


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.26

--- Comment #6 from Wim Taymans <wim.taymans at gmail.com> 2009-12-09 12:34:05 UTC ---
Releasing the pads in gstelement dispose does not work. Some elements (adder)
have already executed their dispose method before chaining up and then the
datastructures needed to execute the _release are not there anymore.

It looks like we need to add a manual release in all elements.

commit 494495eae6a7892397deace4557d668f742f5822
Author: Havard Graff <havard.graff at tandberg.com>
Date:   Tue Dec 8 17:21:47 2009 +0100

    tee: release pads in dispose

    Make sure to release all request-pads in the dispose-method, in case of a
    shutdown-race, where a pad-alloc is about to happen.

    Fixes #604091

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