Skip to content
Snippets Groups Projects
Commit 46026f4e authored by Henning Haaland Kulander's avatar Henning Haaland Kulander Committed by Michael Niedermayer
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment