GNOME Bugzilla – Bug 384008
[xvimagesink] accesses ->xwindow outside locks
Last modified: 2007-01-08 13:17:06 UTC
xvimagesink accesses ->xwindow in a few places without holding either flow_lock or x_lock. I think this is causing the "CRITICAL **: gst_xvimagesink_xvimage_put: assertion `xvimagesink->xwindow != NULL' failed" messages I get while setting a new output window ID.
Created attachment 78012 [details] [review] a few fixes There appear to be more unprotected accesses, but I don't really understand the various locks used in xvimagesink, so I've left them alone. So far, this seems to fix the problem I was having. I haven't checked ximagesink for similar issues.
See also: Bug #384060
Fixed in CVS HEAD. Please try it and reopen the bug if it's still not ok for you.