Re: mencoder-g2 ?
Bobby Bingham <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.g2.devel |
|---|---|
| Message-ID | <20030807204259.GA3270%[email protected]> |
On Thu, Aug 07, 2003 at 09:45:28PM +0200, Arpi wrote: > Hi, > > > On Thu, Aug 07, 2003 at 10:00:21AM +0200, Arpi wrote: > > > Hi, > > > > > > > parameters like "-ovc lavc:codec=mpeg4:hq:pass=1", i just need to use a > > > > CONF_TYPE_STRING, find the right module_info_t, and send it, along with > > > > the rest of the string to mpconfig_parse_subconfig(). > > > > > > no > > > you shuould use MODULE_LIST (limited to 1 module), so the parser will do all > > > teh job automagically. > > > you could do with STRING and directly calling mpconfig_parse_subconfig, but > > > in that case Guis and extended UIs won't know teh syntax of that parameter. > > > > > > > is there a way to limit MODULE_LIST to only 1 module? AFAICS there > > isn't. or do you mean to just ignore all but the first module returned? > > no > set CONF_MAX and set max to 1 > min/max values for lists are limits on number of elements yes for CONF_TYPE_STRING_LIST. AFAICS, all this is in mpconfig_parse_param(). in there, nothing in the CONF_TYPE_MODLIST case even looks at cd->min/max, or cd->flags, let alone checks it for CONF_MAX. maybe just not implemented yet? > > > A'rpi / Astral & ESP-team > > -- > Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu > > _______________________________________________ > MPlayer-G2-dev mailing list > [email protected] > http://mplayerhq.hu/mailman/listinfo/mplayer-g2-dev