Accelerated hardware, but is not actually 3D. Features: Low CPU Usage because of 3D accelerated hardware. All effects including potentially expensive complex image transformations are done in hardware. So, if you have a fast video card, your CPU most of a time will be idle! Powerful C-style Scripting Language will help you to program your own nice presets! The visualization is under your control! Root-window rendering supported. Put a nice video effects on your desktop! This feature is window-manager dependent. KDE and GNOME probably won't work Press 'V' to switch to root-window mode. Full-screen rendering. Planned. WWW: http://xmms-scivi.sourceforge.net/ PR: 87488 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
25 lines
483 B
C
25 lines
483 B
C
--- src/presets.c.orig Sat Nov 1 21:06:51 2003
|
|
+++ src/presets.c Sat Oct 15 20:54:03 2005
|
|
@@ -20,6 +20,8 @@
|
|
#include <config.h>
|
|
#endif
|
|
|
|
+#include <sys/cdefs.h>
|
|
+#include <sys/syslimits.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
@@ -162,10 +164,10 @@
|
|
line = 1;
|
|
|
|
while (1) {
|
|
- glr = getline(&linebuffer, &linebuffersize, f);
|
|
-
|
|
- if (glr < 0)
|
|
+ if (fgets(linebuffer, linebuffersize, f) == NULL)
|
|
break;
|
|
+
|
|
+ glr = strlen(linebuffer);
|
|
|
|
line++;
|
|
|