GNOME Bugzilla – Bug 581737
Python examples need to take the GDK lock
Last modified: 2009-05-07 12:29: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
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