diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-03 13:21:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-03 13:21:52 +0000 |
commit | f20ad5534a092109ed7d6c644ce74d7f50611fdb (patch) | |
tree | 02eec1212f799f2bcbd00cc959cde35d3e3908dc /ffmpeg.c | |
parent | e0c91bc23b44043633ce65952146254b5e965ab1 (diff) | |
download | ffmpeg-streaming-f20ad5534a092109ed7d6c644ce74d7f50611fdb.zip ffmpeg-streaming-f20ad5534a092109ed7d6c644ce74d7f50611fdb.tar.gz |
fix initial vbv buffer underflow
Originally committed as revision 3556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |