mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 19:25:01 +00:00
fix initial vbv buffer underflow
Originally committed as revision 3556 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e0c91bc23b
commit
f20ad5534a
1
ffmpeg.c
1
ffmpeg.c
@ -3131,6 +3131,7 @@ static void opt_output_file(const char *filename)
|
||||
video_enc->rc_max_rate = video_rc_max_rate;
|
||||
video_enc->rc_min_rate = video_rc_min_rate;
|
||||
video_enc->rc_buffer_size = video_rc_buffer_size;
|
||||
video_enc->rc_initial_buffer_occupancy = video_rc_buffer_size*3/4;
|
||||
video_enc->rc_buffer_aggressivity= video_rc_buffer_aggressivity;
|
||||
video_enc->rc_initial_cplx= video_rc_initial_cplx;
|
||||
video_enc->i_quant_factor = video_i_qfactor;
|
||||
|
Loading…
Reference in New Issue
Block a user