GNOME Bugzilla – Bug 661563
xvimagesink cannot attach to 32-bit true color drawable
Last modified: 2011-12-09 02:23:09 UTC
Created attachment 198856 [details] Test program which demonstrates the crash If in response to prepare-xwindow-id message X window id of a 32-bit TrueColor window is provided xvimage sink crashes in XvShmPutImage: The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 42 error_code 8 request_code 132 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) aborting...
You need to call gdk_window_ensure_native() (well, the pygtk equivalent). See https://bugzilla.gnome.org/show_bug.cgi?id=594890