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 594248 - Use locked-state on internal rtp-bin to avoid shutdown-state-race
Use locked-state on internal rtp-bin to avoid shutdown-state-race
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal critical
: 0.10.17
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-05 18:24 UTC by Håvard Graff (hgr)
Modified: 2009-09-08 10:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.28 KB, patch)
2009-09-05 18:24 UTC, Håvard Graff (hgr)
committed Details | Review

Description Håvard Graff (hgr) 2009-09-05 18:24:53 UTC
Created attachment 142546 [details] [review]
patch

When rtpbin is going from PLAYING to NULL, it will set state on its internal
bins (session and demux). If those internal bins are already in NULL as a
result of freeing the request-pads, they will be brought back up again.

This can easily be solved by setting locked state on the bins prior to setting
them to NULL.
Comment 1 Wim Taymans 2009-09-08 10:43:48 UTC
commit e08e610db0d5e9f7e4d5d5c42b026b2853b1321d
Author: Havard Graff <havard.graff@tandberg.com>
Date:   Mon Aug 31 18:46:51 2009 +0200

    rtpbin: use locked state on internal bins
    
    Set the locked state on internal elements to make sure that they don't change
    back to another state when shutting down.
    
    Fixes #594248