[MPlayer-dev-eng] release tomorrow, ok?

Alban Bedel albeu at free.fr
Sun Nov 10 20:11:58 CET 2002


Hi Arpi,

on Sun, 10 Nov 2002 15:30:03 +0100 you wrote:

> Imho we should change the filter config mechinsm, maybe adding a config
> structure to the filter description and let the new (commited after pre10)
> config code to parse the filter parameters.
> The sscanf() in the first filters was a quick hack, not the solution.
The config code is pretty much finished, it only need to be tested by more ppl. I also
wrote a 'struct setter'. To use it you need to define the struct like for options (size,
dflt settings, settable fields). Then you can allocate, set the 'public' fields and free
structs of the defined type. 
I'm using this for the osd menus (for those how remeber this, it is also comming
back ;) and it work perfectly. On open() the menu instances have their priv struct
alredy allocated and filled with the user settings. We can do something similiar for
the filters.

PS: If somebody is interessed in testing/looking at the new config stuff and/or the
osd menu i'll post a diff.
	Albeu



More information about the MPlayer-dev-eng mailing list