[MPlayer-dev-eng] Re: [PATCH] Auto load vobsub from ~/.mplayer/sub and oss mixer settings "per instance"

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 15 18:48:16 CEST 2005


Hi,
On Thu, Sep 15, 2005 at 06:23:35PM +0200, Alban Bedel wrote:
> > Nice, but IMHO the whole mixer_channel thing including the global
> > option should be removed.
> 
> I'm not sure what you mean exactly. Ignore the -mixer-channel option ?
> That doesn't sound like a good idea to me.

No, remove it. It is ao-specific, so it should be a suboption.

> > Also I think the suboption parser
> > should be used (see subopt-helper.h and e.g. vo_gl.c, preinit function
> > on how to use it).
> 
> Imho it's not worth it considering that all options are strings and
> it would break compatibility afaik.

Well, your version implements yet another parser. A simple one though,
which means that if ever somebody wants to add more options has a hard
time and will have to break compatibility anyway.
At least that is my opinion on this. Also using the subopt-helper you
can also benefit from escaping (ok, it's not really good yet) because in
theory specifying a device name containing a ':' isn't possible anymore
afer your patch ;-)

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list