mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
do not override rc_buffer_occupancy if set
Originally committed as revision 7641 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0521946359
commit
079e8cb962
3
ffmpeg.c
3
ffmpeg.c
@ -2868,7 +2868,8 @@ static void new_video_stream(AVFormatContext *oc)
|
||||
if(p) p++;
|
||||
}
|
||||
video_enc->rc_override_count=i;
|
||||
video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size*3/4;
|
||||
if (!video_enc->rc_initial_buffer_occupancy)
|
||||
video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size*3/4;
|
||||
video_enc->me_threshold= me_threshold;
|
||||
video_enc->intra_dc_precision= intra_dc_precision - 8;
|
||||
video_enc->strict_std_compliance = strict;
|
||||
|
Loading…
Reference in New Issue
Block a user