|
From: Arne S. <ar...@sc...> - 2000-11-18 14:13:33
|
I had compile problems too, I solved this by downloading the latest SDL
version and changing one or two variable names in the libdv code. I can't
remember any details anymore, but it was straightforward to fix.
stdio input outut would be neat. I'll change the next version of dvgrab to
support this too for raw dv data. For now maybe you can get it working by
using a named pipe (I did not try this though):
mknod fifo p
cat fifo | your_prog &
dvgrab --format raw fifo
Arne
-----Original Message-----
From: Lukas Knutsson
Sent: Friday, November 17, 2000 1:11 PM
To: lib...@li...
Subject: [libdv-dev] Problems compiling libdv
Hi,
I'm now getting off my butt to help with libdv.
I checked out libdv from CVS and could not compile it on my RedHat 7
system.
cc -mcpu=i686 -g -O -fstrict-aliasing -Wall -I. -I/usr/lib/glib/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT -DUSE_MMX_ASM=1 -DHAVE_XV40x=1 -DHAVE_GTK=1 -DHAVE_SDL=1
-I. -I/usr/lib/glib/include -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/SDL -D_REENTRANT -DUSE_MMX_ASM=1 -DHAVE_XV40x=1
-DHAVE_GTK=1 -DHAVE_SDL=1 -c -o display.o display.c
display.c: In function `dv_display_SDL_init':
display.c:347: structure has no member named `hw_overlay'
I noticed this function dv_display_SDL_init has 2 versions depending on
whether #if HAVE_SDL is defined or not.
hw_overlay appears to be a member of overlay which is of type
SDL_Overlay . Looking in /usr/include/SDL/SDL_video.h I see this,
/* The YUV hardware video overlay */
typedef struct SDL_Overlay {
Uint32 format; /* Read-only */
int w, h; /* Read-only */
Uint16 pitch; /* Read-only */
void *pixels; /* Read-write */
/* Hardware-specific surface info */
struct private_yuvhwfuncs *hwfuncs;
struct private_yuvhwdata *hwdata;
} SDL_Overlay;
So what gives ? DO I have some out of date stuff or is the current CVS
version temporarily broken or is RedHat 7 causing problems.
/Lukas (would really like to get encode working. Especially to use like
a filter in a pipe chain ppmcoolimageproducer | encode > lukas.dv. Will
hack encode so it can read from stdin if it doesn't already do it.)
_______________________________________________
libdv-dev mailing list
lib...@li...
http://lists.sourceforge.net/mailman/listinfo/libdv-dev
|