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
pull/126/head
Henning Haaland Kulander 21 years ago committed by Michael Niedermayer
parent 070ed1bc43
commit 46026f4e5b
  1. 5
      ffserver.c

@ -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…
Cancel
Save