|
From: Scott M. <sm...@br...> - 2001-01-12 04:05:14
|
> That means the extension exists. You can take the simple test which you > can find on libSDL in their configure script to detect whether you have > Xv support or not. if I understand you correctly here, you mean the libSDL from http://www.libsdl.org/download-1.1.html . I just got that, and their configure script tries to compile something like this as its test for "XvImage" (I guess its possible that XvImage isn't Xvideo, but it seems like the only thing close in that configure script): #include "confdefs.h" #include <X11/Xlib.h> #include <sys/ipc.h> #include <sys/shm.h> #include <X11/extensions/XShm.h> #include <X11/extensions/Xvlib.h> int main() { XvImage *image; ; return 0; } Thats just telling me whether or not I have the development libraries. Perhaps I missunderstood you. Is there a way that I can tell if Xv is actually loaded and working correctly? thanks in advance, Scott |