[Mplayer-dev-eng] System wide configuratio

Vladimir Kushnir vkushnir at Alfacom.net
Sun Jul 22 03:18:34 CEST 2001


Hello Felix,
Yes, your way would be cleaner than what is there now but this way an
additional if check will still be performed every time get_path is called.
A really clean would be (I think) to create some
struct config_path {FILE, ...},
fill it up once at the very startup with a new get_path and then simply
use its members.

Regards,
Vladimir
-- 
Vladimir Kushnir - vkushnir at Alfacom.net

On Sat, 21 Jul 2001, [ISO-8859-1] Felix BЭnemann wrote:

> Hello mplayer-dev-eng,
>
> I've looked at the system wide configuration patch to mplayer and I
> think it's quite messy cause it adds an extra if check after every
> get_path, but it's much cleaner to instead extend get_path function to
> return reguested file in system wide configdir if it's not found in
> homedir.
> I'm currently reworking get_path and will include it into mplayer.c if
> it's finished.
>
>


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list