[SDL] "Xlib: unexpected async reply" with Mplayer embedded‏

Eddy Cullen eac203 at ecs.soton.ac.uk
Fri May 9 02:49:03 PDT 2008


Hi,

Do you, by any chance, have an ATI card?

FYI, yes, virtually everything in SDL is thread-safe, unless:

   1. The documentation states that it is not.
   2. You have found a bug.

Eddy

Miles Qi wrote:
> Hi Everyone,
> 
> I have an SDL application which has a Mplayer embedded. I often get the 
> error: "Xlib: unexpected async reply". I found in mail-list there are a 
> lot of discussions about "Xlib: unexpected async reply" problem. Based 
> on these discussions, I guess, this problem is because Xlib functions 
> are called in two threads(one is my main thread, i think there is 
> another one in Mplayer). For my case, I can't combine two threads into 
> one, what should I do to avoid this problem? Any suggestion would be 
> very appreciated.
> 
> Thanks
> ------------------------------------------------------------------------
> Sign in to Windows Live Messenger, and enter for your chance to win 
> $1000 a day—today until May 12th. Visit SignInAndWIN.ca 
> <http://g.msn.ca/ca55/210>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



More information about the SDL mailing list