1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

work with latest svn of x264

Originally committed as revision 4244 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2005-05-14 21:02:49 +00:00
parent d9995c5add
commit 3f9d3777b9

View File

@ -133,7 +133,7 @@ X264_init(AVCodecContext *avctx)
x4->params.i_keyint_max = avctx->gop_size;
x4->params.rc.i_bitrate = avctx->bit_rate / 1000;
x4->params.rc.i_rc_buffer_size = avctx->rc_buffer_size / 1000;
x4->params.rc.i_vbv_buffer_size = avctx->rc_buffer_size / 1000;
if(avctx->rc_buffer_size)
x4->params.rc.b_cbr = 1;
x4->params.i_bframe = avctx->max_b_frames;