[gst-devel] Warning when quitting while playing a sound

Andreas Røsdal andrearo at pvv.ntnu.no
Mon May 21 17:01:49 CEST 2007


Hello!

I would appreciate some help with a warning in the GNOME package 
games-games,
which is related to using GStreamer playing sounds in a threadpool.

I get this warning when quitting a game which is currently playing a sound:

Xlib: unexpected async reply (sequence 0x106ab)!

This is related to the new games-sound API, which uses threads to play 
sounds
with GStreamer. When I init XThreads, the error goes away. Does 
GStreamer access X even when
only playing sound ?

I have opened a bugreport here which contains more details:
http://bugzilla.gnome.org/show_bug.cgi?id=439536

The code in question can be found here:
http://svn.gnome.org/viewcvs/gnome-games/trunk/libgames-support/games-sound.c?view=markup

Any advice on removing the warning would be appreciated. And if there 
are any improvement to the code,
that would be great too.


 - Andreas





More information about the gstreamer-devel mailing list