Commit 46026f4e authored by Henning Haaland Kulander's avatar Henning Haaland Kulander Committed by Michael Niedermayer

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
parent 070ed1bc
......@@ -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);
......
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