[MPlayer-dev-eng] [PATCH] XviD: choose the name of the 1st pass stat file

Loren Merritt lorenm at u.washington.edu
Mon Oct 18 21:53:05 CEST 2004


On Mon, 18 Oct 2004, Guillaume POIRIER wrote:
> Le dim 17/10/2004 à 14:50, Ivan Kalvachev a écrit :
>
>> For example, some of the default values of options were rejected
>> because there were no way to turn them off, if you want to add
>> no-options, i would welcome it.
>
> Ok, I'll try to find some time to work on that. Is that enough to add
> something like :
> {"nochroma_opt", &xvidenc_nochroma_opt, CONF_TYPE_FLAG, 0, 0, 1, NULL},
>
> and something like:
> if(xvidenc_nochroma_opt) {
>   frame->vop_flags &= ~XVID_VOP_CHROMAOPT;
> }

No need for a separate variable. From ve_x264.c:
   {"cabac",   &cabac, CONF_TYPE_FLAG, 0, 0, 1, NULL},
   {"nocabac", &cabac, CONF_TYPE_FLAG, 0, 1, 0, NULL},

> Is there a way to tell the front-end that some options are mutually
> exclusive?

I don't think so.

--Loren Merritt


More information about the MPlayer-dev-eng mailing list