[MPlayer-G2-dev] Re: G2 CLI/GUI

D Richard Felker III dalias at aerifal.cx
Tue May 13 17:26:11 CEST 2003


On Tue, May 13, 2003 at 01:20:39PM +0300, Andriy N. Gritsenko wrote:
>     Hi, Michael Niedermayer!
> 
> Sometime (on Tuesday, May 13 at 12:38) I've received something...
> >> > >Not acceptable. This sort of bloated slow startup nonsense is what I
> >> > >expect from stuff like mozilla and gimp, not mplayer!
> >> >     I didn't say if we have do that scan by loading these plugins. There
> >> > is other way - to create /usr[/local]/lib/mplayer/{ctl,vo,vf} subdirs and
> >> > put plugins of each type there. Plugins names will be name.so - it may be
> >> > enough but version and validity check (and getting all plugin info) will
> >> > be on loading on demand only. Is it ok?
> 
> >> plugin names are the same as teh .c file names, but with .so (or .a .dll
> >> etc, it's platform dependent!!!) extenion. so for example, demux_ogg.so,
> >> vf_scale.so
> >> maybe we can include api version number too in some way.
> 
> >an alternative way to quickly get some info (author, helptext, long 
> >description ...) about every plugin is to use a cache file, so that only new 
> >plugins are checked and then the info is stored in the cache file and loaded 
> >from there when needed in a subsequent run ...
> 
> >the advantage is that a GUI could quickly display the helptext or longdesc for 
> >example as a tooltip for the list of filters ...
> 
>     Good. I think it's the best solution - we just have to save some
> file's parameters in the cache and rescan on demand if some file was
> added/changed/removed. It will solve all problems (about info and/or
> validating), I hope.

I hope this 'feature' will be an optional part of the api, and limited
to gui players, since it's useless for command line.

Rich



More information about the MPlayer-G2-dev mailing list