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/avformat.h | |
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/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9a9125a9c5..54dfdbf39a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -22,7 +22,7 @@ #define FFMPEG_AVFORMAT_H #define LIBAVFORMAT_VERSION_MAJOR 52 -#define LIBAVFORMAT_VERSION_MINOR 8 +#define LIBAVFORMAT_VERSION_MINOR 9 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -508,6 +508,12 @@ typedef struct AVFormatContext { * demuxing: set by user */ unsigned int max_index_size; + + /** + * Maximum ammount of memory in bytes to use for buffering frames that are + * obtained from real-time capture devices. + */ + unsigned int max_picture_buffer; } AVFormatContext; typedef struct AVPacketList { |