On Tue, 16 May 2006, Bernhard Praschinger wrote:

I have 2 points you might want to change.
In line 193:
screen = SDL_SetVideoMode(screenwidth, screenheight, 0,

You can try to change the SDL_SWSURFACE to some other valid value (Modes
found here: http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode)

I found out why yuvplay fails to display anything when the composite extension is loaded: It gets an ARGB visual. A workaround is to add an environment variable to have xlib skip those visuals:

export XLIB_SKIP_ARGB_VISUALS=1

Then yuvplay works flawlessly. I don't know which SDL visual you need in order to have it work without this workaround. All I know is that other SDL applications on my system work normally without any required workaround.

Dik


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to