diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 21:59:11 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 21:59:11 +0000 |
commit | ab8ab30c3d075065b68552cd8e59556b863115e0 (patch) | |
tree | a111e48ab0131dc98c61d569dce663f2fcc80851 /libavformat/utils.c | |
parent | c123486e44f44560725fa0c28f01afc926dcb299 (diff) | |
download | ffmpeg-ab8ab30c3d075065b68552cd8e59556b863115e0.tar.gz |
Introduce max_picture_buffer variable in AVFormatContext,
set by rtbufsize option.
Originally committed as revision 12383 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d032baaf95..b37db35b88 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -324,6 +324,7 @@ static const AVOption options[]={ {"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 3*AV_TIME_BASE, 0, INT_MAX, D}, {"cryptokey", "decryption key", OFFSET(key), FF_OPT_TYPE_BINARY, 0, 0, 0, D}, {"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), FF_OPT_TYPE_INT, 1<<20, 0, INT_MAX, D}, +{"rtbufsize", "max memory used for buffering real-time frames", OFFSET(max_picture_buffer), FF_OPT_TYPE_INT, 3041280, 0, INT_MAX, D}, /* defaults to 1s of 15fps 352x288 YUYV422 video */ {NULL}, }; |