diff options
author | Henning Haaland Kulander <hennikul@ifi.uio.no> | 2004-02-05 17:47:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-05 17:47:24 +0000 |
commit | 46026f4e5b55f82c50258b7f2be24bf3c763a173 (patch) | |
tree | 7c7876a2d3e962cefb53847f6b906fe8bfdcb9ee /ffserver.c | |
parent | 070ed1bc43405053f38ffdcbd3d33ee4f587b399 (diff) | |
download | ffmpeg-46026f4e5b55f82c50258b7f2be24bf3c763a173.tar.gz |
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
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index eb8b37d0ae..e550d00c25 100644 --- a/ffserver.c +++ b/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); |