comparison libvo/vo_dxr3.c @ 5309:2ce4e031f47a

XorA found a bug in the avcodec code
author mswitch
date Sun, 24 Mar 2002 15:33:12 +0000
parents 69e55c9c1a1a
children 1aaba2495aac
comparison
equal deleted inserted replaced
5308:69e55c9c1a1a 5309:2ce4e031f47a
352 if (ioval == EM8300_VIDEOMODE_NTSC) { 352 if (ioval == EM8300_VIDEOMODE_NTSC) {
353 avc_context->gop_size = 18; 353 avc_context->gop_size = 18;
354 } else { 354 } else {
355 avc_context->gop_size = 15; 355 avc_context->gop_size = 15;
356 } 356 }
357 avc_context->frame_rate = (int) vo_fps * FRAME_RATE_BASE; 357 avc_context->frame_rate = (int) (vo_fps * FRAME_RATE_BASE);
358 avc_context->bit_rate = 6e6; 358 avc_context->bit_rate = 6e6;
359 avc_context->flags = CODEC_FLAG_HQ | CODEC_FLAG_QSCALE; 359 avc_context->flags = CODEC_FLAG_HQ | CODEC_FLAG_QSCALE;
360 avc_context->quality = 2; 360 avc_context->quality = 2;
361 avc_context->pix_fmt = PIX_FMT_YUV420P; 361 avc_context->pix_fmt = PIX_FMT_YUV420P;
362 if (avcodec_open(avc_context, avc_codec) < 0) { 362 if (avcodec_open(avc_context, avc_codec) < 0) {