--- trunk/vfw/src/codec.c 2002/07/12 12:26:55 295 +++ trunk/vfw/src/codec.c 2002/08/01 12:56:29 355 @@ -306,6 +306,7 @@ if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG; param.max_bframes = codec->config.max_bframes; param.bquant_ratio = codec->config.bquant_ratio; + param.frame_drop_ratio = codec->config.frame_drop_ratio; #endif switch(xvid_encore(0, XVID_ENC_CREATE, ¶m, NULL)) @@ -392,7 +393,14 @@ frame.general |= XVID_LUMIMASKING; if (codec->config.interlacing) - frame.general |= XVID_INTERLACING; + frame.general |= XVID_INTERLACING; + +// added by koepi for gruel's greyscale_mode + if (codec->config.greyscale) + frame.general |= XVID_GREYSCALE; + +// end of koepi's addition + // fix 1pass modes/hinted MV by koepi if (codec->config.hinted_me && (codec->config.mode == DLG_MODE_CBR || codec->config.mode == DLG_MODE_VBR_QUAL || codec->config.mode == DLG_MODE_VBR_QUANT)) { @@ -519,7 +527,7 @@ frame.bquant = 0; #endif - OutputDebugString(" "); +// OutputDebugString(" "); switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats)) { case XVID_ERR_FAIL :