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 581737 - Python examples need to take the GDK lock
Python examples need to take the GDK lock
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal blocker
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-07 12:19 UTC by Jan Schmidt
Modified: 2009-05-07 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Schmidt 2009-05-07 12:19:54 UTC
To avoid crashes, the python examples that use XOverlay need to grab the gdk lock when handling the XID sync-message

Patch is at http://cgit.freedesktop.org/~thaytan/gst-python/commit/?id=e2a811c2104f8afc189018f505b6296240f871ca
Comment 1 Edward Hervey 2009-05-07 12:29:54 UTC
commit 113959d55a9403716892e843b4c646d34c8a6f90
Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Wed May 6 23:38:54 2009 +0100

    examples: Port switch.py to input-selector
    
    The switch element hasn't existed for a while now - use the
    replacement element input-selector instead.
    
    Partially (and finally) fixes #581737

commit 7743f1ad1e309fc1d073f777712c98bd0392eff0
Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Wed May 6 23:38:08 2009 +0100

    examples: Make xoverlay installation thread safe using the GDK lock.
    
    We can't call into the GDK functions in our sync-message handler
    without taking the GDK lock, so do so.
    
    Partially fixes #581737