[SDL] yuv overlay problems

Robert D. xkill at dingoblue.net.au
Thu Aug 23 19:20:01 PDT 2001


Here's how I'm using the yuv overlay:
//-----------------------------------------
SDL_Overlay *overlay;
SDL_Rect rect;

SDL_LockYUVOverlay(overlay);
memcpy into overlay->pixels[]
SDL_UnlockYUVOverlay(overlay);
SDL_DisplayYUVOverlay(overlay,&rect);
//-----------------------------------------


I keep getting this error " Xlib: unexpected async reply (sequence 0x604)!
". It seems to happend when I switch to 2x zoom and back (rect.h * 2,
rect.w *2 ).

I've also noticed that some mpeg/divx players (Lamp) based on
SDL produce the same error.

I'm running Mandrake 8 with XFree86 4.10, Nvidia 12.51 drivers,SDL 1.2.1.







More information about the SDL mailing list