[MEncoder-users] -noodml flag ignored in mencoder?

Oded Shimon ods15 at ods15.dyndns.org
Tue Aug 23 18:31:30 CEST 2005


On Tue, Aug 23, 2005 at 12:34:52PM +0200, Reimar D?ffinger wrote:
> Hi,
> On Tue, Aug 23, 2005 at 11:05:26AM +0100, Jonathan Lundberg wrote:
> > In libmpdemux/muxer_avi.c the following line exists:
> > 
> > int write_odml = 1;
> 
> This is the initialization.
> 
> > There is nowhere else in that file where it looks like that variable is 
> > changed or overwritten.
> > 
> > In cfg-mencoder.h there is a line:
> > 
> > {"noodml", &write_odml, CONF_TYPE_FLAG, 0, 1, 0, NULL}
> 
> It is overwritten in the option parser (m_option.c etc.). Though I find it a bit weird
> that the option name is noodml... this means to explicitly enable odml
> you would have to use -nonoodml ???

I'm not 100% of m_option internals, but I don't thing flags come with an 
implicit 'no' prefix - only if they are explictly defined. I'm guessing so 
only because there are MANY

{"option" ... }
{"nooption" ... }

in cfg-common.h ...

- ods15




More information about the MEncoder-users mailing list