]> git.pld-linux.org Git - packages/avifile.git/commitdiff
- fix building without vidix avifile-0_7_16-0_20020913_2
authormarcus <marcus@pld-linux.org>
Wed, 2 Oct 2002 19:26:58 +0000 (19:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avifile-vidix.patch -> 1.1

avifile-vidix.patch [new file with mode: 0644]

diff --git a/avifile-vidix.patch b/avifile-vidix.patch
new file mode 100644 (file)
index 0000000..b6324e1
--- /dev/null
@@ -0,0 +1,17 @@
+diff -uNr avifile0.7-0.7.16.orig/lib/video/renderer.cpp avifile0.7-0.7.16/lib/video/renderer.cpp
+--- avifile0.7-0.7.16.orig/lib/video/renderer.cpp      Thu Sep 12 20:52:51 2002
++++ avifile0.7-0.7.16/lib/video/renderer.cpp   Wed Oct  2 21:02:00 2002
+@@ -2766,11 +2766,13 @@
+                                int width, int height,
+                                fourcc_t yuv_fmt, bool sub)
+ {
++#ifdef HAVE_VIDIX
+     //return new XvYUVRenderer(pw, dpy, width, height, yuv_fmt, sub);
+     if (geteuid() == 0)
+       // for root user try to use VIDIX
+       try { return new VidixRenderer(pw, (Display*)dpy, width, height, yuv_fmt, sub);
+       } catch (FatalError& e)  { e.PrintAll(); }
++#endif
+ #if _SDL_VER > 1103
+     return new YUVRenderer(pw, (Display*)dpy, width, height, yuv_fmt, sub);
+ #else
This page took 0.081988 seconds and 4 git commands to generate.