]>
Commit | Line | Data |
---|---|---|
3b931b23 | 1 | diff -uNr avifile0.7-0.7.16.orig/lib/video/renderer.cpp avifile0.7-0.7.16/lib/video/renderer.cpp |
2 | --- avifile0.7-0.7.16.orig/lib/video/renderer.cpp Thu Sep 12 20:52:51 2002 | |
3 | +++ avifile0.7-0.7.16/lib/video/renderer.cpp Wed Oct 2 21:02:00 2002 | |
4 | @@ -2766,11 +2766,13 @@ | |
5 | int width, int height, | |
6 | fourcc_t yuv_fmt, bool sub) | |
7 | { | |
8 | +#ifdef HAVE_VIDIX | |
9 | //return new XvYUVRenderer(pw, dpy, width, height, yuv_fmt, sub); | |
10 | if (geteuid() == 0) | |
11 | // for root user try to use VIDIX | |
12 | try { return new VidixRenderer(pw, (Display*)dpy, width, height, yuv_fmt, sub); | |
13 | } catch (FatalError& e) { e.PrintAll(); } | |
14 | +#endif | |
15 | #if _SDL_VER > 1103 | |
16 | return new YUVRenderer(pw, (Display*)dpy, width, height, yuv_fmt, sub); | |
17 | #else |