After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 425455 - Decodebin2 leaks pads
Decodebin2 leaks pads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.13
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-02 11:53 UTC by Tommi Myöhänen
Modified: 2007-04-03 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch with fix (1.94 KB, patch)
2007-04-02 11:54 UTC, Tommi Myöhänen
committed Details | Review

Description Tommi Myöhänen 2007-04-02 11:53:57 UTC
Decodebin2 doesn't unref pads it obtains in some occasions:
- multiqueue src pads, when either connecting further or exposing
- sink pads of new autoplugged elements
- peer pads when recursively freeing elements
Comment 1 Tommi Myöhänen 2007-04-02 11:54:45 UTC
Created attachment 85696 [details] [review]
Patch with fix
Comment 2 Wim Taymans 2007-04-03 11:11:05 UTC
        Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>

        * gst/playback/gstdecodebin2.c: (connect_pad), (expose_pad),
        (deactivate_free_recursive):
        Decodebin2 doesn't unref pads it obtains in some occasions:
        - multiqueue src pads, when either connecting further or exposing
        - sink pads of new autoplugged elements
        - peer pads when recursively freeing elements
        Fixes #425455.