You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +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:
committed by
Michael Niedermayer
parent
070ed1bc43
commit
46026f4e5b
@@ -4061,6 +4061,11 @@ static int parse_ffconfig(const char *filename)
|
|||||||
errors++;
|
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")) {
|
} else if (!strcasecmp(cmd, "VideoBitRateTolerance")) {
|
||||||
if (stream) {
|
if (stream) {
|
||||||
get_arg(arg, sizeof(arg), &p);
|
get_arg(arg, sizeof(arg), &p);
|
||||||
|
Reference in New Issue
Block a user