comparison libvo/vo_dxr3.c @ 5542:5cf3a60c2815

trying to fix davids "libavcodec bug" ...
author michael
date Tue, 09 Apr 2002 23:55:47 +0000
parents 58864ce0eef7
children 80c4e6e50f1e
comparison
equal deleted inserted replaced
5541:0cd696b41253 5542:5cf3a60c2815
406 } else { 406 } else {
407 avc_context->gop_size = 15; 407 avc_context->gop_size = 15;
408 } 408 }
409 avc_context->frame_rate = (int) (vo_fps * FRAME_RATE_BASE); 409 avc_context->frame_rate = (int) (vo_fps * FRAME_RATE_BASE);
410 avc_context->bit_rate = 6e6; 410 avc_context->bit_rate = 6e6;
411 avc_context->flags = CODEC_FLAG_HQ | CODEC_FLAG_QSCALE; 411 avc_context->flags = CODEC_FLAG_QSCALE;
412 avc_context->quality = 2; 412 avc_context->quality = 2;
413 avc_context->pix_fmt = PIX_FMT_YUV420P; 413 avc_context->pix_fmt = PIX_FMT_YUV420P;
414 if (avcodec_open(avc_context, avc_codec) < 0) { 414 if (avcodec_open(avc_context, avc_codec) < 0) {
415 printf("VO: [dxr3] Unable to open codec\n"); 415 printf("VO: [dxr3] Unable to open codec\n");
416 uninit(); 416 uninit();