Commit 57a97712 authored by mru's avatar mru

work with latest svn of x264


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4244 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 469a9b0d
...@@ -133,7 +133,7 @@ X264_init(AVCodecContext *avctx) ...@@ -133,7 +133,7 @@ X264_init(AVCodecContext *avctx)
x4->params.i_keyint_max = avctx->gop_size; x4->params.i_keyint_max = avctx->gop_size;
x4->params.rc.i_bitrate = avctx->bit_rate / 1000; 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) if(avctx->rc_buffer_size)
x4->params.rc.b_cbr = 1; x4->params.rc.b_cbr = 1;
x4->params.i_bframe = avctx->max_b_frames; x4->params.i_bframe = avctx->max_b_frames;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment