mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
VideoBufferSize option patch by ("Henning Haaland Kulander" <hennikul at ifi dot uio dot no>)
Originally committed as revision 2749 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
070ed1bc43
commit
46026f4e5b
@ -4061,6 +4061,11 @@ static int parse_ffconfig(const char *filename)
|
||||
errors++;
|
||||
}
|
||||
}
|
||||
} else if (!strcasecmp(cmd, "VideoBufferSize")) {
|
||||
if (stream) {
|
||||
get_arg(arg, sizeof(arg), &p);
|
||||
video_enc.rc_buffer_size = atoi(arg) * 1024;
|
||||
}
|
||||
} else if (!strcasecmp(cmd, "VideoBitRateTolerance")) {
|
||||
if (stream) {
|
||||
get_arg(arg, sizeof(arg), &p);
|
||||
|
Loading…
Reference in New Issue
Block a user