|
From: Lukas K. <lu...@ra...> - 2000-11-17 13:08:44
|
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.)
|