--- trunk/xvidcore/examples/ex1/ex1.c 2002/05/28 01:16:06 185 +++ trunk/xvidcore/examples/ex1/ex1.c 2002/06/21 07:02:59 231 @@ -55,7 +55,9 @@ param->max_quantizer = 31; param->max_key_interval = 100; +#ifdef BFRAMES param->max_bframes = 0; // Disable B-frame +#endif } void set_enc_frame(XVID_ENC_FRAME *frame) @@ -70,7 +72,6 @@ frame->colorspace = XVID_CSP_YV12; // the test.yuv format is YV12 frame->quant = 0; // CBR mode - frame->general = 0; frame->general |= XVID_MPEGQUANT; // Use MPEG quant frame->quant_inter_matrix = NULL; // Use default quant matrix frame->quant_intra_matrix = NULL;