[MPlayer-dev-eng] AFM/VFM migration - DOCS changes

Mark Szabo mw3 at bsd.hu
Sat Aug 31 03:57:19 CEST 2002


Thus spoke Arpi <arpi at thot.banki.hu> on 2002-08-30 23:52:54:
> Hi,
> 
> I've just comited a quite big patch, to finally remove tha codec
> family/driver _numbers_ (remember -vfm 5 and others).
> Option -afm/-vfm still exists and work but with driver names, ie instead
> -vfm 5 use -vfm ffmpeg. I'll implement -afm/-vfm help soon.
> Please check and update DOCS, and manpage!
> 
> Also, now it's possible to implement runtime loading of external codec
> plugins, using dlopen().
> The file name can be 'calculated' from ad_<driver>.c/vd_<driver>.c where
> <driver> comes from codecs.conf's driver lines, it's in the codec structure.
> 
> Also, it can be implemented for video filters too, but unlike Felker's
> solution it should be done by vf.c not a wrapper plugin.
> If if vf.c cannot find a filter in the internal filter list, it could try to
> dlopen() it before exit with error. Maybe teh filter instance (vf_instance_t)
> should be extended by a field to keep the library handle for uninit and a
> ref. counter to avoid multiple loads if teh filter is used more than once.
> 
> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
>

Hi,

Because of this change MPlayer doesn't compile with Gui.
I include the error:

make -C Gui
make[1]: Entering directory `/root/src/mplayer/Gui'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -Wall
-malign-double -I. -I./event -I./wm -I./skin -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/freetype2 -DDEBUG  -o cfg.o cfg.c
cfg.c:62: `video_family' undeclared here (not in a function)
cfg.c:62: initializer element is not constant
cfg.c:62: (near initialization for `gui_opts[9].p')
make[1]: *** [cfg.o] Error 1
make[1]: Leaving directory `/root/src/mplayer/Gui'
make: *** [Gui/libgui.a] Error 2

--
Mark Szabo
mw3 at bsd.hu




More information about the MPlayer-dev-eng mailing list