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

Arpi arpi at thot.banki.hu
Fri Aug 30 23:52:54 CEST 2002


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



More information about the MPlayer-dev-eng mailing list