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 661563 - xvimagesink cannot attach to 32-bit true color drawable
xvimagesink cannot attach to 32-bit true color drawable
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.33
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-12 15:27 UTC by Tvrtko Ursulin
Modified: 2011-12-09 02:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program which demonstrates the crash (5.03 KB, text/x-python)
2011-10-12 15:27 UTC, Tvrtko Ursulin
Details

Description Tvrtko Ursulin 2011-10-12 15:27:58 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...
Comment 1 David Schleef 2011-12-09 02:23:09 UTC
You need to call gdk_window_ensure_native() (well, the pygtk equivalent).

See https://bugzilla.gnome.org/show_bug.cgi?id=594890