GNOME Bugzilla – Bug 384060
gst_xoverlay_set_xwindow_id() causing lockups with x(v)imagesink
Last modified: 2007-01-08 13:17:38 UTC
When calling gst_xoverlay_set_xwindow_id() during the 'prepare-xwindow-id' signal in a thread different from the one where x(v)imagesink lives, occasional lockups and/or X errors occur. I noticed flow_lock is locked whenever xwindow is being touched, except in setcaps(), just after firing the 'prepare-xwindow-id' signal. Locking flow_lock there as well appears to fix the problems.
Created attachment 78024 [details] [review] Patch to ximagesink
Created attachment 78025 [details] [review] Patch to xvimagesink
See also: Bug #384008
Fixed in CVS HEAD. Please try it and reopen the bug if it is still not ok for you.